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.1, 5.2 Install via EasyApache 4

Discussion in 'EasyApache' started by inthukha, Dec 18, 2015.

  1. inthukha

    inthukha Well-Known Member

    Joined:
    Jul 17, 2013
    Messages:
    61
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Hello,

    I want to install more php old versions via ea4, its possible or not ?

    if its not possible via ea4 then can anyone help me describe steps to install php 5.1 or 5.0 ? i just want to install this for one website which is important.

    Many thanks
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

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

    PHP versions 5.0 and 5.1 are not supported by cPanel and are not available in EasyApache 4 or EasyApache 3. It's advised to update any scripts that are not compatible with newer versions of PHP. Cloud Linux with PHP Selector does offer support for legacy versions of PHP if you are open to utilizing a third-party application:

    CloudLinux Documentation

    Thank you.
     
  3. Vipin Haridas

    Vipin Haridas Member

    Joined:
    Aug 3, 2016
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hi,

    So, apart from using CloudLinux is there any way through which I can install old PHP versions such as PHP 5.2 and 5.3 on cPanel 58?. Did someone tried that?. I know it's possible but I couldn't find any documents/tutorials for the same.

    Can someone please help me regarding this?.

    Note: It will be really helpful if you add support for these older versions too in EA4. I have already upvoted the corresponding feature request thread: Allow to install PHP 5.3 in Easy Apache 4 with the understanding that these versions are not secure.

    Thanks!
     
  4. sparek-3

    sparek-3 Well-Known Member

    Joined:
    Aug 10, 2002
    Messages:
    1,381
    Likes Received:
    23
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    If your script is requiring these end of life versions of PHP, then chances are really high that that script is riddled with security holes and security issues. That's why it's preached to upgrade your script.
     
  5. Vipin Haridas

    Vipin Haridas Member

    Joined:
    Aug 3, 2016
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Yes, I know that and the clients are already in a process of upgrading their scripts. But, they say they need more time. There must be a lot of admins face similar issues with EA4. Is there any workaround for this apart from using CloudLinux?.
     
  6. sparek-3

    sparek-3 Well-Known Member

    Joined:
    Aug 10, 2002
    Messages:
    1,381
    Likes Received:
    23
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    PHP: Unsupported Branches

    PHP 5.1 went end of life on 24 Aug 2006

    PHP 5.0 went end of life on 05 Sep 2005

    Sane administrators moved away from PHP 5.0 and PHP 5.1 a long, long, long time ago. I'm betting that whatever script this user is using, if it's worth anything, didn't just release a PHP 5.6 or PHP 7.0 supported version of that script yesterday.

    User should have upgraded their script a long, long time ago.
     
  7. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    654
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    You can use EasyApache 3 in the short-term while your users prepare their scripts for newer versions of PHP. Then, you can convert to EasyApache 4 via the instructions at:

    How to Install or Uninstall EasyApache 4 - EasyApache 4 - cPanel Documentation

    Thank you.
     
  8. Vipin Haridas

    Vipin Haridas Member

    Joined:
    Aug 3, 2016
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Okay, Thank you for the suggestion. I will look into it.
     
Loading...

Share This Page