Nginx + PHP FASTCGI FAILS - how to debug ?

Volodymyr Kostyrko c.kworr at gmail.com
Thu Aug 11 17:26:07 UTC 2011



11.08.2011 20:06, franky gman wrote:
> I'm having this issue.  PHP5-CGI just disappears after undetermined
> time(1 to 4 hrs).
>
>
> I have the latest php, nginx and lighttpd installed on ubuntu
>
> to get my web service back i need to re-spawn using this command
>
> /usr/bin/spawn-fcgi -a 127.0.0.1 -p 9000 -u www-data -g www-data -f
> /usr/bin/php5-cgi -P /var/run/fastcgi-php.pid
>
>
> your help is appreciated
>

By default php-cgi process handles PHP_???? max request and 
automatically exits.

Consult nginx wiki for the correct startup sequence.


-- 
Sphinx of black quartz judge my vow.



More information about the nginx mailing list