Best way to use PHP with nginx?

Grzegorz Nosek grzegorz.nosek at gmail.com
Mon Nov 16 12:07:25 MSK 2009


On pią, lis 13, 2009 at 04:28:57 +0100, Jérôme Loyet wrote:
> Hi,
> 
> Is there a php-fastcgi process launcher and controller at the same time ?
> Because php-fastcgi or spwan-fcgi just launches N php children, N constant.
> I'm looking for a way to spawn fastcgi process depending on the number
> of concurent requests ... has anyone heard about something like that ?

nginx, supervisord and ngx_supervisord, though it complicates a typical
PHP setup a little (also, see elsethread for a configuration gotcha
about autorestarting PHP).

http://forum.nginx.org/read.php?2,17812,17812#msg-17812

I actually have written support for dynamic php pool size at one time
but I cannot publish it, sorry.

Best regards,
 Grzegorz Nosek





More information about the nginx mailing list