How do I 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.

To enable it, add the following line into your php.ini file:

zlib.output_compression = On
Was this article helpful?
0 out of 0 found this helpful



Please sign in to leave a comment.