1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Upgrading to PHP 5.4

Discussion in 'XenForo Questions and Support' started by lazer, May 22, 2013.

  1. lazer

    lazer Well-Known Member

    Hey :)

    Looks like my server guy is going to be upgrading our server to PHP 5.4 at the weekend. He's also going to switch us from eAccelerator to APC at the same time.

    We only run xF on the server (dedicated box with CentOS, WHM, Cpanel, Apache), so any "gotcha's" we need to be aware of before he goes ahead?

  2. SneakyDave

    SneakyDave Well-Known Member

    What version of PHP are you running now? I'm running CentOS and PHP5.4, recently changing from 5.3, and haven't noticed any issues with xF.

    I think there was an issue with a PHP Notice showing if you had debug turned on (starting with PHP 5.3), but I "think" that was resolved in xF 1.1.4 or 1.1.5, and it also applied to PHP 5.3.
    lazer likes this.
  3. lazer

    lazer Well-Known Member

    Thanks SD...
  4. lazer

    lazer Well-Known Member

    In case anyone is interested, I thought I would update this thread, post upgrade...

    We've now been running latest Apache & PHP, with Percona and APC configured too, for a couple of weeks. Before the upgrades, our dedicated server was running (on average) at around the 5% CPU mark.

    After the changes, it doesn't go above 0.3% CPU.

    Happy? You could say that :D
    SneakyDave and MattW like this.

Share This Page