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.

How to install two different php version on cpanel

Discussion in 'General Discussion' started by Fiberoptck, Feb 25, 2013.

  1. Fiberoptck

    Fiberoptck Member

    Joined:
    Feb 8, 2013
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I was looking for some specific documentation that explains the process for getting two php version running simultaneously in cpanel. I applications on a different account that need a older version of php but I cannot change the whole php version to accommodate that app and would like to have just that one account have the different version of PHP.

    any help or linked documentation would be of help!
     
  2. cPanelJared

    cPanelJared Technical Analyst
    Staff Member

    Joined:
    Feb 25, 2010
    Messages:
    1,842
    Likes Received:
    18
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Running two minor versions of the same major version of PHP (5.3 and 5.4, or 5.2 and 5.3) is not supported in a default cPanel configuration.

    A better approach, though admittedly difficult, is to encourage users who are still using a very old version of PHP to upgrade their scripts. Scripts that are old enough to require an old version of PHP that has reached its end of life are also old enough to contain vulnerabilities that allow remote code execution and other methods to exploit your server.
     
Loading...

Share This Page