I want to disable gzip compression in my site using htaccess.
I have the code below in htaccess:
php_flag zlib.output_compression off
But it is not working.
It's possible, but looks like it will disable gzip for the whole website.
Keep in mind that you are telling PHP not to gzip, but Apache may still be gzipping so this should sort it, but check Apache config.
A simpler one that also works:
The line you were using disables PHP's compression. The