How to upgrade PHP version?
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 :)
-
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. 0 -
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 :) 0 -
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. 0
Please sign in to leave a comment.
Comments
5 comments