How to Change PHP Versions on VPS & Dedicated Servers Using EasyApache 4
Log in to WHM
◦ Go to https://yourdomain.com/whm or https://yourdomain.com:2087
◦ Enter your root username and password
◦ Click Log In
Open EasyApache 4
◦ In the top-left Search bar, type Easy
◦ Click EasyApache 4 under the Software section
(You’ll see your currently installed package information.)
Customize Installation
◦ Under Currently Installed Packages, click the Customize button
◦ From the left-side menu, choose PHP Versions
◦ Select the PHP version you want to install
◦ Click Review to proceed
Install PHP Extensions
If you’re upgrading PHP, you may need to install compatible extensions (especially for MySQL).
◦ To do this:
◦ Go to WHM → Home → Software → EasyApache 4 → PHP Extensions
◦ In the search box, type MySQL
◦ Click the button next to PHP x.x and Extensions to include them
Complete the Installation
◦ After reviewing your selected PHP version and extensions, click Provision at the bottom
◦ Wait for the installation to complete — WHM will confirm when the new PHP version is active
Verify the PHP Version
Once the process is done:
◦ Go to WHM → Home → Software → MultiPHP Manager
◦ You can now assign the new PHP version to your desired domain(s)