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

What version of PHP should i be on?

Discussion in 'General PHP and MySQL Discussions' started by Husky76, Jan 29, 2014.

  1. Husky76

    Husky76 Member

    I'm on PHP 5.2 and talked to my host about upgrading.

    I'm on Xenforo 1.2.4 and confused as to whether it will work on PHP 5.4 or 5.5.

    Thanks.
     
  2. Amaury

    Amaury Well-Known Member

    I'm pretty sure XenForo works with PHP 5.4 from doing a bit of searching.
     
  3. Veer

    Veer Well-Known Member

    A couple of weeks before I was on php 5.3 and now I'm on php 5.4 its working fine without any issue :)
     
  4. Brogan

    Brogan XenForo Moderator Staff Member

    When you upgrade to 1.3 you will see the following warning:

    Anything less than 5.3.3 will trigger that.

    XenForo in general requires a minimum version of 5.2.4.
     
    Veer likes this.
  5. Husky76

    Husky76 Member

    This is why I am asking. I got that warning when installing the beta. When I asked my host about upgrading he said he could but to make sure all my sites are compatible with PHP 5.4 and I want to make sure that 1.2.4 works on 5.4 or 5.5 before telling him to go ahead with the upgrade.
     
  6. Brogan

    Brogan XenForo Moderator Staff Member

    XenForo works with PHP 5.4 and 5.5.

    I currently run XenForo 1.0.4, 1.1.5, 1.2.4, and 1.3.0 on PHP 5.5.6.
     
  7. Husky76

    Husky76 Member

    Thank you!
     
  8. RoldanLT

    RoldanLT Well-Known Member

    I'm using PHP 5.5.8 on my Live Forum ;)
     
  9. Husky76

    Husky76 Member

    Did the upgrade and my forum seems quicker and more responsive. Not sure if it's one of those in your head type things but I'm happy.

    Thank you all for the input.
     
  10. Null

    Null Well-Known Member

    I personally run on PHP 5.5.8 (current stable).

    I think quite a lot of people are stuck on older versions of PHP (mainly due to shared hosting environments and hosts not bothering to upgrade), which is a shame, really... because there's many improvements made in each version.

    I tend to advise people to have at least 5.4.24 (old stable) – 5.5.8 (current stable) installed.
     
    Jeremy P likes this.
  11. HittingSmoke

    HittingSmoke Active Member

    PHP 5.4 if you want to use APC session caching. PHP 5.5 if you want to just use the built-in Zend opcode cache.
     
  12. TBDragon

    TBDragon Active Member

    for me i work on 5.5.6 and no issue ^_^ work perfect
    and i will update it soon to the last stable one ^_^
     
  13. digitalpoint

    digitalpoint Well-Known Member

    It's not in your head... 5.5 is a little faster than 5.4, but 5.4 was a pretty huge leap in speed over 5.3.
     
    ForestForTrees and seojoseph like this.
  14. kingofseo

    kingofseo New Member

    I'm on php 5.3 and xenforo works good with php 5.3.
     
  15. RobParker

    RobParker Well-Known Member

    But I thought not all addons necessarily work...
     
    kingofseo likes this.
  16. Brogan

    Brogan XenForo Moderator Staff Member

    I wouldn't know.
    You will have to ask the developer of each one.
     
  17. AndyB

    AndyB Well-Known Member

    I'm on 5.3.19 and never got that message. Everything is working fine on my forum.
     
  18. Brogan

    Brogan XenForo Moderator Staff Member

    5.3.19 > 5.3.3
     
    AndyB likes this.
  19. RobParker

    RobParker Well-Known Member

    My point was that saying that "xenforo works with PHP5.5" should probably be given the caveat that not necessarily all addons do so if there's a specific addon requirement they'll need to check that separately.
     
  20. Brogan

    Brogan XenForo Moderator Staff Member

    My statement is still 100% accurate - XenForo does work with with PHP5.5.

    We cannot be held responsible for third party add-ons.
     
    digitalpoint likes this.

Share This Page