the Forum

Enable GZIP on Pair.com

Posted on April 4, 2014 by Michael Rosario
Total Posts: 33  |  Join date: 03-12-11

I'm running a statmic content management system and after trying .htaccess or Jon Henshaw to turn on GZIP Compression - I've had no luck. Any other possible solutions? Thanks.

Tags: There are no tags for this entry.

2 answers, add yours below

Posted on on April 6, 2014 at 6:11pm
by Sean P.

Another solution to using compression on your site is via PHP's zlib
compression. To enable it create a .user.ini file in the site directory with the following line in it:

zlib.output_compression = On;

It can take about 5 minutes before PHP picks up the change via the
.user.ini file.

I hope this information is helpful. Please let us know if you have any
other questions.

 

Posted on on April 6, 2014 at 6:15pm
by Michael Rosario

Thanks Sean,

That did the trick! Awesome.

-Michael

 
add your answers here
comments powered by Disqus