Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

How to install two different php version on cpanel

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

  1. Fiberoptck

    Fiberoptck Member

    Feb 8, 2013
    Likes Received:
    Trophy Points:
    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. JaredR.

    JaredR. Well-Known Member

    Feb 25, 2010
    Likes Received:
    Trophy Points:
    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.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice