Skip to main content

php 5.3 question

Comments

10 comments

  • vanessa
    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.
    0
  • cPanelMichael
    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: [url=http://php.net/releases/5_4_0.php]PHP: PHP 5.4.0 Release Announcement Thank you.
    0
  • whipworks
    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!
    0
  • cPanelMichael
    [quote="whipworks, post: 1778151">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?
    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.
    0
  • whipworks
    [quote="cPanelMichael, post: 1778192">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.
    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! :)
    0
  • whipworks
    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?
    0
  • cPanelMichael
    [quote="whipworks, post: 1779112">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?
    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.
    0
  • whipworks
    [quote="cPanelMichael, post: 1779172">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.
    Install on the server? Or on per domain account on CPanel?
    0
  • 24x7ss
    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.
    0
  • whipworks
    [quote="24x7ss, post: 1779612">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.
    Thanks for the suggestion. Will check it :)
    0

Please sign in to leave a comment.