Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    694
    Likes Received:
    15
    Trophy Points:
    68
    Hello, should i enable output buffering and zlib compression in PHP configuration editor to increase performance? Why its not enabled by default?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,442
    Likes Received:
    1,961
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. postcd

    postcd Well-Known Member

    Joined:
    Oct 22, 2010
    Messages:
    694
    Likes Received:
    15
    Trophy Points:
    68
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice