Content Encoding Error

I have a page with gzip and in my php index file I have ob_start ('ob_gzhandler');

[HTTP_ACCEPT_ENCODING] has the meaning of gzip, deflate, and even that I get updates in some cases, that the error is about encoding.

In htacces I added php_value zlib.output_compression Off and nothing. Any idea how to fix this?

Thanks.

+4
source share
3 answers

It may be a short time, but it worked for me so that I can at least see the site.

Go to the "about: config" section

In filter type encoding. Find "network.http.accept-encoding"

My said: "gzip, deflate", change this to say "true"

+3
source

if your php_value does nothing, your PHP installation probably works in CGI mode (please confirm if not) to add php_values โ€‹โ€‹to your .htaccess file, then PHP should be run as an Apache module (DSO). Try using ini_set in your code or modify your php.ini if โ€‹โ€‹you have access to this.

0
source

Try changing network.http.accept-encoding to true , this worked for me.

0
source

All Articles