Making a cPanel account use specific PHP version

damotwo

Registered
Mar 25, 2016
1
0
1
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
 

24x7server

Well-Known Member
Apr 17, 2013
1,912
99
78
India
cPanel Access Level
Root Administrator
Twitter

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
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.