Apache mod_deflate already enabled for my site, Can I enable zlib.output_compression in PHP.INI?
Apache mod_deflate already enabled for my site, Can I enable zlib.output_compression in PHP.INI ?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you left
zlib.output_compression, PHP files will use this compression and which is not that much efficient what muchmod_deflateis. So Apache will compress all other files but notPHPandzlibwill compressPHPfiles. No point in using them both.If you are interesting is speeding up your
PHPcode you can always useXCacheto keep PHP files pre-compiled.