How to enable GZIP compression in PHP?

Posted by Editorial Staff | Updated on

Want to enable GZIP compression in PHP? In the Apache server, we have to Add the following to .htaccess file to enable GZIP compression.

Now you can use enable GZIP compression in PHP files.


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers