Page 1 of 1

Enable GZip Compression in CPANEL

Posted: Tue Jun 17, 2008 9:47 am
by kmf165
Hi all,

Sorry if this have been discussed earlier but I cant find any.

I get a hosting from exabytes.com and uploaded my website. Installed few components like docman, JACL, JCE. SEF and etc.

The last step I am try to do is to improve the website performance. So I enable the GZIP in configuration. But ends up my front page what blank. Yes...nothing.

So I search around but cannot find any idea how to check and enable GZIP module using my cpanel hosting. Can someone please guide me how?


Thanks a lot.
KMF

Re: Enable GZip Compression in CPANEL

Posted: Tue Jun 17, 2008 1:14 pm
by dhuelsmann
Email your host and find out if GZIP is enabled. If not ask them to enable it for you.

Re: Enable GZip Compression in CPANEL

Posted: Wed Jun 18, 2008 1:18 am
by kmf165
:-\ I wrote to them and read the reply below.
I regret to inform you that the Mod_Gzip is not supported by cPanel hosting. Hence, we do not custom install the module to the apache to prevent the apache from breaking.
Then I shot them another mail
I understand what you trying to tell. But dont you think GZIP or something similar is a preferred module to enhance web page loading? Or do you have any resolution for this?
Here is latest reply from them
Due to the Mod_Gzip is not supported by cPanel, we are not recommended to install the third party component. So that the custom installation component will not crash with the cPanel system setting.

FYI, we are using suPHP for this Linux hosting server which you may aware for your PHP application development.

So, what alternative I can do now? But I really sad about this issue. It is not cheap hosting yet cant make this feature as a standard in hosting. :'(

Re: Enable GZip Compression in CPANEL

Posted: Wed Jun 18, 2008 3:11 am
by dhuelsmann
It is standard in most hosting packages - I suggest you switch hosts.

Re: Enable GZip Compression in CPANEL

Posted: Wed Jun 18, 2008 6:23 am
by kmf165
Hi, thanks for reply. ;)

Know what? I reply them with a mail ask for money back guarantee, and immediately they responses and saying that GZIP no longer in Apache 2, instead will replace by mod_deflate. They will compile and set up for me... :D ...what can I say...

Anyway, thanks for replies and hope this issue solve soon as possible...

Regards;
Koo

Re: Enable GZip Compression in CPANEL

Posted: Mon Feb 21, 2011 10:40 am
by adelrami
I had the same problem, switched to http://www.htvhosting.com and had it fixed,
its enabled there with so many additional functions.

Re: Enable GZip Compression in CPANEL

Posted: Fri Jul 12, 2013 6:35 am
by mkprogramming
If you have access you could try this:

<ifModule mod_gzip.c>
mod_gzip_on Yes
mod_gzip_dechunk Yes
mod_gzip_item_include file .(html?|txt|css|js|php|pl)$
mod_gzip_item_include handler ^cgi-script$
mod_gzip_item_include mime ^text/.*
mod_gzip_item_include mime ^application/x-javascript.*
mod_gzip_item_exclude mime ^image/.*
mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*
</ifModule>

Goes in .htaccess on your apache server / webhosting