Updating the PHP instance used by cPanel
PHP used by cPanel
To update the PHP instance used by cPanel, run
/usr/local/cpanel/scripts/makecpphp
from the command line.
Updating or changing the version of PHP?
To update the PHP instance used by Apache, run
/usr/local/cpanel/scripts/phpup
from the command line.
PHP used by Apache
To change the PHP version used by Apache, access EasyApache, either at Main >> Software >> EasyApache (Apache Update) in WHM, or
/usr/local/cpanel/scripts/easyapache
on the command line.