Page 1 of 1

gzip compression missing?

Posted: Tue Oct 17, 2006 10:26 pm
by TKS
I tested my current install of 1.01 for gzip compression and found there was none. I thought this had been a built in item since .8...am I wrong?

I do have it selected (yes) for compression in my configuration.

I used this tool to test: http://www.gidnetwork.com/tools/gzip-test.php

I also used the tool available at http://whatismyip.org

Both found that gzip isn't enabled. I checked apache and I do have mod_gzip installed and operational...my other site running on the same server has gzip enabled no problems.

So...anyone know what's up with that?

Re: gzip compression missing?

Posted: Wed Oct 18, 2006 10:41 am
by garvinhicking
Hi!

s9y's gzip compression relies on the PHP gzip output buffering. It can only be used/enabled when PHP is enabled to support it. Can you check your phpinfo() output to check anything related to "gzip"?

mod_gzip is something completely different alltogether. Enabling this means you should NOT enable gzip compression in any PHP tool, because every output is already gziped by Apache, and a double encoding done by PHP would screw results...

HTH,
Garvin

Posted: Mon Nov 20, 2006 1:17 am
by TKS
Here are the related entries:

HTTP_ACCEPT_ENCODING gzip,deflate

_SERVER["HTTP_ACCEPT_ENCODING"] gzip,deflate

Posted: Mon Nov 20, 2006 10:36 am
by garvinhicking
Hi!

Sadly those are not the settings I that are related to PHP configuration. Those values only show the HTTP headers send to and from your page, which is something different.

Best regards,
Garvin