Jump to content

Installing mod_gzip


gevans

Recommended Posts

Hey guys,

 

I've been looking at installing mod_gzip but don't seem to be getting anywhere too quickly....

 

Setup;

xampp 1.7.2

apache 2.2.12

php 5.3.0

os - windows 7

 

I've added mod_gzip.so into my xampp/apache/modules/ folder. I got the file from the following location - http://www.gknw.net/development/apache/httpd-2.0/win32/modules/mod_gzip-2.0.55-w32.zip

 

I added the following to httpd.conf;

LoadModule gzip_module modules/mod_gzip.so

<IfModule mod_gzip.c>
    mod_gzip_on Yes
    mod_gzip_item_include file \.htm$
    mod_gzip_item_include mime text/.*
    mod_gzip_item_exclude file error/.*
    mod_gzip_item_exclude mime ^image/.*
    mod_gzip_temp_dir "/tmp"
    mod_gzip_command_version mod_gzip_version
    CustomLog logs/gzip.log mod_gzip_info2
</IfModule>

 

I get the following error in "error.log" when trying to restart apache;

 

httpd.exe: Syntax error on line 141 of C:/xampp/apache/conf/httpd.conf: Cannot load C:/xampp/apache/modules/mod_gzip.so into server: The specified module could not be found.

 

The file location is fine (as far as I can see) and there are no typos (as far as I can see).

 

Does anyone have any ideas?

 

Cheers,

Gareth

Link to comment
https://forums.phpfreaks.com/topic/214718-installing-mod_gzip/
Share on other sites

I've also tried the following;

 

LoadModule gzip_module modules/ApacheModuleGzip.dll

<IfModule mod_gzip>
    mod_gzip_on Yes
    mod_gzip_item_include file \.htm$
    mod_gzip_item_include mime text/.*
    mod_gzip_item_exclude file error/.*
    mod_gzip_item_exclude mime ^image/.*
    mod_gzip_temp_dir "/tmp"
    mod_gzip_command_version mod_gzip_version
    CustomLog logs/gzip.log mod_gzip_info2
</IfModule>

 

and get the following;

 

httpd.exe: Syntax error on line 141 of C:/xampp/apache/conf/httpd.conf: Cannot load C:/xampp/apache/modules/ApacheModuleGzip.dll into server: The specified module could not be found.

 

and the file exists.

Link to comment
https://forums.phpfreaks.com/topic/214718-installing-mod_gzip/#findComment-1117132
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.