Home > Backend Development > PHP Tutorial > How to start the php-cgi service

How to start the php-cgi service

WBOY
Release: 2016-07-29 08:55:54
Original
3419 people have browsed it

Environment: unbuntu 14.04

There are 4 ways to start php-cgi

1. php-cgi -b 3344 direct startup method

2. Start with spawn-cgi

3. php-fpm starts management cgi

4. Find the php-cgi startup script under Linux online

spawn-cgi startup method: sudo spawn-fcgi -a 127.0.0.1 -p 3344 -F 10 -f /usr/bin/php-cgi -P /var/ run/spawn-cgi.pid
sudo spawn-fcgi -a 127.0.0.1 -p 3344 -u www-data -g www-data -f /usr/bin/php5-cgi -C 10

').addClass('pre-numbering').hide (); $(this).addClass('has-numbering').parent().append($numbering); for (i = 1; i ').text(i)); }; $numbering.fadeIn(1700); }); });

The above introduces how to start the php-cgi service, including the relevant content. I hope it will be helpful to friends who are interested in PHP tutorials.

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template