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!

Making a cPanel account use specific PHP version

Discussion in 'Workarounds and Optimization' started by damotwo, Mar 25, 2016.

  1. damotwo

    damotwo Registered

    Joined:
    Mar 25, 2016
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Bygdsiljum, Sweden
    cPanel Access Level:
    Root Administrator
    Not even sure if this is the right place to ask this, but it feels like a workaround. Short story long is after a few years of having a company manage my server I've taken it on myself as company just vanished.

    I use a fairly common couple of scripts. I'm running PHP 5.3 but there is one script that needs to use 5.5 - there was something the company used to do on an account level to make the account think it was running 5.5 .. and I don't know what.

    Any ideas? Thanks
     
  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,786
    Likes Received:
    82
    Trophy Points:
    78
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,672
    Likes Received:
    1,788
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello :)

    The ability to offer multiple versions of PHP is offered with EasyApache 4:

    Introduction to EasyApache 4 - EasyApache 4 - cPanel Documentation

    However, keep in mind that PHP 5.3 is end of life and unsupported in EasyApache 4. It's a good idea to consider updating scripts that require PHP 5.3 to ensure they are compatible with newer versions of PHP. Note that another option is to use the PHP Selector option with Cloud Linux:

    CloudLinux Documentation

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

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