gzip compression missing?

Found a bug? Tell us!!
Post Reply
TKS
Regular
Posts: 199
Joined: Thu Nov 11, 2004 1:34 am
Location: VA, USA
Contact:

gzip compression missing?

Post 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?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: gzip compression missing?

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
TKS
Regular
Posts: 199
Joined: Thu Nov 11, 2004 1:34 am
Location: VA, USA
Contact:

Post by TKS »

Here are the related entries:

HTTP_ACCEPT_ENCODING gzip,deflate

_SERVER["HTTP_ACCEPT_ENCODING"] gzip,deflate
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply