Turning off gzip
I am trying to fix my php flush() function and it is well documentated that Apache compressing (gzip) prevents this. I have outputted my phpinfo and sure enough gzip is enabled (listed under Phar(?) stuff... I have tried to disabling compression in cpanel->optimize website, and also tried adding in entries in php.ini
output_buffering = Off
zlib.output_compression = Off
But nothing.
How to disable ?
Thank you for your help.
-
Hey there! It sounds like you're doing everything correctly to disable this. If you check your PHP Info page, can you confirm the additional php.ini where you added those values is being properly read? If so, it might be best to submit a ticket to our team so we can check this directly on the system with the issue. 0 -
Thanks. Hmm I can't get my variables to be registered from any php.ini (that I've tried). In my phpinfo shows
In this file I've verified that those 2 params are set to off, but under phar.. in my phpinfo it shows gzip compression is enabled.Loaded Configuration File /opt/cpanel/ea-php74/root/etc/php.ini
and also showsgzip compression enabled
I've tried setting those 2 variables as off in php.ini in my /public_html/domainname.com under what is auto generated by cpanel, but still ignored. I've restarted apache everytime. Thank you for your help!output_buffering no value no value 0 -
That's odd - at this point it would be best to submit a ticket to our team so we can take a look at the server directly. Could you do that, and then post the ticket number here so I can follow along? 0
Please sign in to leave a comment.
Comments
3 comments