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 can i open gzip

Discussion in 'General Discussion' started by horson, Feb 28, 2011.

  1. horson

    horson Member

    Joined:
    Feb 14, 2011
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    please tell me,thank you
     
  2. LinuxTechie

    LinuxTechie Well-Known Member

    Joined:
    Jan 22, 2011
    Messages:
    502
    Likes Received:
    2
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Hello,

    To compress a file named myfile.txt to myfile.txt.gz and automatically delete the original uncompressed version, simply type

    $ gzip myfile.txt

    To convert it back to the original file, just type

    $ gunzip myfile.txt.gz

    Have a try!
     
  3. horson

    horson Member

    Joined:
    Feb 14, 2011
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    tks, but i want to know How to open gzip set in httpd.conf which can make my website more quick
     
  4. LinuxTechie

    LinuxTechie Well-Known Member

    Joined:
    Jan 22, 2011
    Messages:
    502
    Likes Received:
    2
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Hello,

    Are you talking about the module mod_gzip. Please try executing the commands httpd -M | grep mod_gzip and httpd -l | grep mod_gzip to find whether the module is enabled in the server. If it is not enabled it can be done compiling apache using easyapache.
     
  5. cPanelJared

    cPanelJared Technical Analyst
    Staff Member

    Joined:
    Feb 25, 2010
    Messages:
    1,842
    Likes Received:
    18
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    You are still giving relatively scant details, but from your description, I think you may be looking for mod_deflate. mod_deflate uses gzip to compress data transferred between httpd and the Web browser. mod_deflate is an option that is available in EasyApache, and it is listed in Step #6, Exhaustive Options List. It is labeled simply Deflate.
     
  6. horson

    horson Member

    Joined:
    Feb 14, 2011
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    thank you. i want to know if rebuilding easy apache:"recompile Apache and php now" will impact local website running ?
     
  7. cPanelJared

    cPanelJared Technical Analyst
    Staff Member

    Joined:
    Feb 25, 2010
    Messages:
    1,842
    Likes Received:
    18
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Apache and PHP will stay in operation while EasyApache builds the new Apache and PHP. If there is any problem with the newly built Apache and PHP, EasyApache will copy the old, working versions back into place and restart Apache without your intervention. Your server will only start using the new Apache and PHP when EasyApache has successfully built them and been able to start them without encountering errors.
     
  8. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page