bleunetizen

Member
Jan 27, 2015
6
0
1
cPanel Access Level
Root Administrator
I am new to cpanel/whm.. and I am being asked to upgrade the PHP to the latest version.

I have installed the cpanel/whm (centos) few months ago which was the latest back then, but have not done any updates since then.

when I go 'php -v' it says my php is 5.4.37, and I am asked to upgrade to 5.6.7 (apparently the latest version.

How do I accomplish this?


Thanks :)
 

24x7ss

Well-Known Member
Sep 30, 2014
272
19
68
India
cPanel Access Level
Root Administrator
Twitter
Hello,

You can upgrade php/apache on server using below script:

/scripts/easyapache

Once you run above command, you will be prompted to select version for apache/php, apache modules/php modules, etc.
 

bleunetizen

Member
Jan 27, 2015
6
0
1
cPanel Access Level
Root Administrator
Thanks for the reply!

When I run it, it gives me 4 options

Deafult
Basic
MPM ITK
Mod Ruid2

What should I choose and what is the difference / what does this actually do? It says 'Upgrade to CloudLinux', what is it actually for?

Thanks :)
 

24x7ss

Well-Known Member
Sep 30, 2014
272
19
68
India
cPanel Access Level
Root Administrator
Twitter
Go with Default >> Customize Profile >> Choose Apache version >> Next >> Choose PHP version >> Next >> Select modules you want to install >> Save and Build.

It will take time depending upon server configuration.