Closed JohnAdib closed 6 years ago
Probably would be a good idea to use init_get() or similar to evaluate the value of zlib.output_compression at runtime to decide whether to do ob_start with the ob_gzhandler method. Or maybe don't use ob_gzhandler at all and find some other way of doing it depending on what the client requests.
For me, in my setups, nginx is responsible for gzip - and I don't see a reason why PHP should do this. It will/could lead to a double work cause nginx have to stay with this setting for css, js and image files.
Should be fixed per https://github.com/jrgp/linfo/commit/a2c8662805333c4921b9b40d4d6c333b0a63fbea
Please confirm.
yep;) fixed, thanks.
Hi Its better to add some documentation about running on windows!
I have ERR_CONTENT_DECODING_FAILED error and after some search found that is because force gzip on linfo.
By enable
zlib.output_compression
inphp.ini
its working. but maybe it's better to describe this or disable force gzip in request header.