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.

php 5.3 question

Discussion in 'EasyApache' started by Venomous21, Jun 23, 2014.

  1. Venomous21

    Venomous21 Well-Known Member

    Joined:
    Jun 28, 2012
    Messages:
    70
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Hello,

    I know php 5.3 has been listed as deprecated in easy apache and I believe it is set to expire sometime in July.

    Will the issues listed in this below release be back ported for php 5.3 and are they a serious concern? I was under the impression that patches would be back ported until 5.3 reached end-of-life and not deprecated.

    EasyApache 3.24.19 Released | cPanel, Inc.

    When upgrading from php 5.2 to 5.3, several of our sites required minor code updates, however, most of our sites run the latest drupal or wordpress releases, so I think upgrading to php 5.4 should be relatively smooth. Your thoughts on this upgrade?

    I would like to test every website on 5.4 prior to rolling it out to production but have constraints which make this difficult.

    Thank you.
     
  2. vanessa

    vanessa Well-Known Member
    PartnerNOC

    Joined:
    Sep 26, 2006
    Messages:
    817
    Likes Received:
    22
    Trophy Points:
    18
    Location:
    Virginia Beach, VA
    cPanel Access Level:
    DataCenter Provider
    As far as I know, those issues are not relevant to PHP 5.3. Keep in mind that for the most part, cPanel is implementing patches provided by the PHP developers and updating based on that. So if the PHP developers didn't apply those fixes for 5.3, even though that version is indeed still supported by the PHP community, it's probably because the bug was introduced in 5.4.

    As far as updating to 5.4, with Drupal and WP you shouldn't have any issues. Odd PHP versions are typically regarded to be transitional releases, so if you're not getting deprecation errors/etc on 5.3 already, you probably will not have a difficult time upgrading.
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

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

    You will often find useful information in the release notes of a new version of PHP. For instance, with PHP 5.4, the following URL includes a "Changes that affect compatibility" section that you may find helpful:

    PHP: PHP 5.4.0 Release Announcement

    Thank you.
     
  4. whipworks

    whipworks Well-Known Member

    Joined:
    Aug 19, 2014
    Messages:
    105
    Likes Received:
    1
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Follow up question on this.

    1. Where and how can I update our servers recent PHP version?
    2. Will the upgrade break any website on the server that was relying on the older version?
    3. Will the upgrade require any website on the server to upgrade their PHP versions from older to new?

    Thanks!
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    1. Apache and PHP updates are handled with EasyApache:

    Introduction to EasyApache

    2/3. Please see my previous post to this thread for information about compatibility changes. It's possible that older PHP scripts will no longer work or may require updates from the vendor.

    Thank you.
     
  6. whipworks

    whipworks Well-Known Member

    Joined:
    Aug 19, 2014
    Messages:
    105
    Likes Received:
    1
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator

    Thanks Michael! Awesome as always. I'll probably hold up upgrading the server if that's the case. I don't want to make matters worst just because one account wanted a updated version. If there's a slight chance that it's going to break other accounts, they'll just have to deal with the old version I guess. We'll see.

    Thanks again! :)
     
  7. whipworks

    whipworks Well-Known Member

    Joined:
    Aug 19, 2014
    Messages:
    105
    Likes Received:
    1
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Another follow question. Can individual account be upgraded for PHP versions? I mean, can they upgrade their accounts PHP version on CPanel without affecting other accounts on the server? Is that even possible?
     
  8. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    You would have to install a third party application (e.g. PHP Selector with Cloud Linux) in order to install different versions of PHP on a per-domain basis.

    Thank you.
     
  9. whipworks

    whipworks Well-Known Member

    Joined:
    Aug 19, 2014
    Messages:
    105
    Likes Received:
    1
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Install on the server? Or on per domain account on CPanel?
     
  10. 24x7ss

    24x7ss Well-Known Member

    Joined:
    Sep 30, 2014
    Messages:
    271
    Likes Received:
    16
    Trophy Points:
    18
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Twitter:
    I will suggest you to install ntPHPSelector. What you have to do is install it on server. After installation is completed you will get 4 different versions of PHP. Then you clients can choose php as per there requirement. Also, you can test each site with latest php.
     
  11. whipworks

    whipworks Well-Known Member

    Joined:
    Aug 19, 2014
    Messages:
    105
    Likes Received:
    1
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Thanks for the suggestion. Will check it :)
     
Loading...

Share This Page