1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Enabling output buffering and zlib / how to check performance?

Discussion in 'Apache' started by postcd, May 22, 2014.

  1. #1
    Hello, should i enable output buffering and zlib compression in PHP configuration editor to increase performance?

    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. (http://www.whatsmyip.org/http-compression-test/)

    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
     
    postcd, May 22, 2014 IP
  2. Tier_net

    Tier_net Active Member

    Messages:
    35
    Likes Received:
    5
    Best Answers:
    3
    Trophy Points:
    58
    #2
    You should be able to turn both options to "On" and then you can use phpinfo() to ensure that it is active.

    You could use an Apache load test to see the performance difference with the settings turned off vs on.

    Try this:

    http://www.cyberciti.biz/tips/howto-performance-benchmarks-a-web-server.html
     
    Tier_net, May 28, 2014 IP