- This topic is empty.
Viewing 1 post (of 1 total)
Viewing 1 post (of 1 total)
- The forum ‘Back End’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Hello,
I am having problems trying to use Gzip on my server.
I would like to combine all my javascript files into one to help with load time.
I went ahead and downloaded Gzip and uploaded to my server.
I checked to see if my server enables gzip and zlib and it does.
I then added:
to my .htaccess file,
which I found directions for here:http://blog.jc21.com/2007-02-08/how-to-use-gzip-to-load-your-site-faster/
When I did that I get an internal server error.
I called my hosting company and she said that php_flag zlib.output_compression On is the wrong syntax.
She didn’t really sound like she knew what she was talking about though.
Can anyone help me with how to do this?
I also found this code:
that can be added to my.htaccess file and seems to be pretty straight forward, but It looks for mod_gzip.c on my server and I do not have that anywhere(I looked in the Gzip files that I have uploaded to my server). When added to my .htaccess file, I get no errors, so I would love to use this if I had that mod_gzip.c
I’m on a linux server with PHP Version 5.2.11.