Buffers, PHP-FastCGI and nginx

Phillip B Oldham phill at theactivitypeople.co.uk
Mon Jun 23 20:20:34 MSD 2008

Am I correct in assuming I'll get the best performance from my nginx+php 
setup if I:
 - set PHP's output_buffering to 4096
 - set PHP's zlib.output_compression to On
 - set nginx's fastcgi_buffers to the same number of php instances, and 
to a size of 4k
 - set nginx's client_body_buffer_size to 4k
 - set nginx to gzip everything if the client accepts it

*Phillip B Oldham*
The Activity People
phill at theactivitypeople.co.uk <mailto:phill at theactivitypeople.co.uk>



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 --------------
A non-text attachment was scrubbed...
Name: phill.vcf
Type: text/x-vcard
Size: 261 bytes
Desc: not available
URL: <http://nginx.org/pipermail/nginx/attachments/20080623/99c52048/attachment.vcf>

More information about the nginx mailing list