Forum Moderators: phranque

Message Too Old, No Replies

gzip vs mod deflate on Apache 2

         

jake66

11:26 pm on Apr 17, 2008 (gmt 0)

10+ Year Member



Recently I upgraded to Apache 2 from Apache 1.3.41

In my php.ini (in the public_html folder of my site), I have the following:

output_buffering = On
output_handler = ob_gzhandler
zlib.output_compression = Off

But I noticed one of my scripts isn't performing as it once did. As a test, I removed php.ini... now the script works!

Upon some searching across the web, a few people said Apache 2 uses mod_deflate.

If this is true, what do I put in php.ini to be compatible? Is there any downfall to using mod deflate? Some have said it consumes much more resources than gzip.