You should check if the zlib library loaded then clean the turn off output buffering by doing ob_end_clean()You can add this line in the top of your file :<?php if (extension_loaded('zlib')){ ob_end_clean(); ob_start('ob_gzhandler');} ?>
ob_end_clean()
<?php if (extension_loaded('zlib')){ ob_end_clean(); ob_start('ob_gzhandler');} ?>
Search line below in your php.ini file:
zlib.output_compression = On
change for:
zlib.output_compression = Off
In your php.ini, search 'zlib' and toggle to On