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.

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,146
    Likes Received:
    34
    Trophy Points:
    48
    Location:
    India
    cPanel Access Level:
    Root Administrator
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    653
    Trophy Points:
    113
    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.
     
Loading...

Share This Page