Reputation: 3427
Apache mod_deflate
already enabled for my site, Can I enable zlib.output_compression
in PHP.INI
?
Upvotes: 3
Views: 1755
Reputation: 2657
If you left zlib.output_compression
, PHP files will use this compression and which is not that much efficient what much mod_deflate
is. So Apache will compress all other files but not PHP
and zlib
will compress PHP
files. No point in using them both.
If you are interesting is speeding up your PHP
code you can always use XCache
to keep PHP files pre-compiled.
Upvotes: 4