How to enable zlib compression manually for PHP scripts

How to enable zlib compression manually for PHP scripts

How to enable zlib compression manually for PHP scripts

PHP Zlib module allows you to transparently read and write gzip compressed files. Thus it is used for serving faster content to the end users by compressing the data stream.

You can easily enable it by placing the following line into your php.ini file:

zlib.output_compression = On

You can create/edit php.ini files using File Manager in cPanel or via FTP.

If you are a seocompany1 customer you can also enable the zlib compression using PHP Variables Manager in cPanel.

Do you need help with the technicalities of your website? We have your back! Sign up for our hosting and let us support you along the way! Check out our hosting package!

Leave a Comment

Your email address will not be published. Required fields are marked *

17 − 8 =

CALL NOW !