php-fastcgi always exits.. resulting in 502 bad gateway

Reinis Rozitis r at roze.lv
Thu Sep 22 11:28:36 UTC 2011


> So basically my question: How do I make the php-fastcgi not exit itself or how do I make it automatically restart on exit?

Best way to do it is to use inbuilt process manager PHP-FPM http://www.php.net/manual/en/install.fpm.php (since 5.3.x its in php 
core).

rr 



More information about the nginx mailing list