The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

how to compress when provider doenst allow compression

Discussion in 'General Discussion' started by shanalikhan, Jan 14, 2014.

  1. shanalikhan

    shanalikhan Registered

    Joined:
    Jan 14, 2014
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    Hi ,
    i want to compress website , my provider doenst allow compress in my hosting account in cpanel. how i can compress the html pages and php pages.
    thanks
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    653
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    I believe you are referring to the "Optimize Website" option in cPanel under "Home >> Software/Services >> Optimize Website". This option is only available if your hosting provider has mod_deflate enabled, and has allowed the use of the feature. It's not possible to access this feature without the cooperation of your web hosting provider.

    Thank you.
     
  3. shanalikhan

    shanalikhan Registered

    Joined:
    Jan 14, 2014
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    is there any other way to compress the pages through PHP ?
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    653
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    You can not install that type of software without root access to the system. You could always consult with the developer of the script you are using to see if it can be optimized in some way if you are having trouble with the script loading properly.

    Thank you.
     
  5. shanalikhan

    shanalikhan Registered

    Joined:
    Jan 14, 2014
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    i heard there is funtion in PHP of ob_gzhandler to put in every page in order to compress that page.
    can i use that code in order to compress the pages even the provider didnt allow
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    653
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  7. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,577
    Likes Received:
    40
    Trophy Points:
    48
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    ask your provider to enable it it benefits them as well as you
     
Loading...

Share This Page