Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.