I am using xampp sever latest version to improve my web page performance.
I have to enable Gzip in XAMPP. How can it be done?
I am using xampp sever latest version to improve my web page performance.
I have to enable Gzip in XAMPP. How can it be done?
Everything what is said above does not work on my XAMPP version 1.8.1 (php 5.4.7).
The only thing that works is to put on "On" instead of "Off" these line of the php.ini file:
Find apache\conf\httpd.conf
uncomment the following line(remove #)
some versions may require you to comment out the following lines instead.
finally add this line to your .htaccess file.
You do compression by setting appropriate directive in apache.
It goes uncommenting the following lines in your apache conf file: C:\xampp\apache\conf\httpd.conf
if your xampp installation folder is C:\xampp.
and these are the lines to be uncommented first:
that is to say, if they have # before them, you should remove them!
Then put this at the end of your httpd.conf file:
Not sure why you have this code:
But that didn't work for me, it returned an APACHE error on Apache/2.4.3 (Win32):
I Had to use: