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.

Enable output buffering and zlip compression?

Discussion in 'Workarounds and Optimization' started by postcd, May 6, 2014.

  1. postcd

    postcd Well-Known Member

    Joined:
    Oct 22, 2010
    Messages:
    621
    Likes Received:
    6
    Trophy Points:
    18
    Hello, should i enable output buffering and zlib compression in PHP configuration editor to increase performance? Why its not enabled by default?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

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

    Zlib compression and output buffering are disabled by default with PHP, so cPanel does not alter that configuration. You are welcome to try enabling those functions and let us know the results, or you may find more user feedback on a forum where more PHP discussions occur.

    Thank you.
     
  3. postcd

    postcd Well-Known Member

    Joined:
    Oct 22, 2010
    Messages:
    621
    Likes Received:
    6
    Trophy Points:
    18
    thx, in global php.ini i have:
    php -v
    im using SuPHP

    When testing hosted website if it do "mod_gzip, mod_deflate, or any server-side language that does content compression", it returns that site is compressed. (What's My IP Address? - Obsolete Browser Page)

    So i need to enable zlib and outputbuffering (both?)? Please before i do that please advice on how to check performance result before/after? Thank you
     
Loading...

Share This Page