Published on: October 7, 2014 by Ranju Jacob
Scenario:
The content encoding error occurs when accessing sites, especially PHP files, the following error messages were usually displayed on different browsers
Firefox : Content Encoding Error
Google Chrome : Error 330
Steps to resolve:
This error occurs since the directive zlib.output_compression in your php.ini.
– To find php.in file location, execute the following command
php -i |grep php.ini
Edit php.ini file
– Find the directive zlib.output_compression and turn it On
zlib.output_compression = On
– Restart httpd
/etc/init.d/httpd restart
Done 🙂
Category : Linux, Troubleshooting
Add new commentSIGN IN