nginx not gzipping php output

ビリビリⅤ orz at
Tue Sep 6 14:26:57 UTC 2011

In fact, you can try to open php internal gzip compress function, you may
find it at php.ini, change this to On
zlib.output_compression = Off
and php will compress it auto before send to nginx.


2011/9/6 djeyewater <nginx-forum at>

> Thanks for testing it MagicBear.
> Google Chrome reports content type header as:
> Content-Type:text/html; charset=UTF-8
> So still not sure why it is not working.
> I checked nginx changelog and couldn't see anything that looked to be
> pointing out that this was an issue in older versions of nginx. Still, I
> will try latest stable version and see if that makes any difference.
> Dave
> Posted at Nginx Forum:
> _______________________________________________
> nginx mailing list
> nginx at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list