Upgrading / Installing new versions of PHP via WHM's EasyApache interface.
Upgrading PHP may be done easily from directly within WHM's EasyApache 4 interface. Simply select the Customize option, and navigate to "PHP versions". Here you may select the PHP versions you would like to install. If you select a new version of PHP, the system will detect the PHP extensions that already exist for other installed versions of PHP and include them within the installation.
For step by step instructions on installing a new version of PHP please reference our article here.