nginx not gzipping php output

ビリビリⅤ orz at loli.my
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.

MagicBear

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

> 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:
> http://forum.nginx.org/read.php?2,214879,214885#msg-214885
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20110906/23b90793/attachment.html>


More information about the nginx mailing list