FastCGI and PHP

Phillip B Oldham phill at
Wed Apr 2 13:29:06 MSD 2008

Reinis Rozitis wrote:
> It doesnt really matter as far as the service listening on the port 
> "talks" the Fastcgi protocol.
> You can add as many backend handlers to nginx as you wish the only 
> limitation is you can't push a single request to all of them eg if you 
> open /index.php you can't handle it with php and some other fastcgi 
> app the same time but probably there is a possibility of a subrequest.
So is it possible to have multiple instances of a fastcgi server, each 
listening on a different port/socket, and have nginx balance the load 
between them? If so, would nginx understand the FCGI_OVERLOADED response 
and pass the request to another instance?

*Phillip B Oldham*
The Activity People
phill at <mailto:phill at>



This e-mail and its attachments are intended for the above named 
recipient(s) only and may be confidential. If they have come to you in 
error, please reply to this e-mail and highlight the error. No action 
should be taken regarding content, nor must you copy or show them to anyone.

This e-mail has been created in the knowledge that Internet e-mail is 
not a 100% secure communications medium, and we have taken steps to 
ensure that this e-mail and attachments are free from any virus. We must 
advise that in keeping with good computing practice the recipient should 
ensure they are completely virus free, and that you understand and 
observe the lack of security when e-mailing us.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: phill.vcf
Type: text/x-vcard
Size: 261 bytes
Desc: not available
URL: <>

More information about the nginx mailing list