Introduction
In some circumstances, you may need to use a different version of PHP for specific domains. You can set a specific version of PHP using the MultiPHP Manager by following one of the procedures below.
Procedure
Change the PHP version of one domain in WHM
- Log into WHM.
- Navigate to MultiPHP Manager.
- In the "User Domains" section, locate your domain
- To the far right of your domain, in the PHP Version column, click the drop-down menu to select a PHP version for your domain.
Change the PHP version of multiple domains in WHM
- Log into WHM.
- Navigate to MultiPHP Manager.
- In the "User Domains" section, locate a domain you'd like to include and ensure the checkbox to the left is selected (Do this for each domain that requires the same PHP version.)
- In the top right of the "User Domains" section, click the drop-down menu for "Select PHP Version" and select the desired PHP version.
- Click the Apply button to change the PHP version of each of the selected domains to the selected PHP version.
Please see our documentation for more information: MultiPHP Manager for WHM
Change the PHP version of one domain or multiple domains in cPanel
- Log into cPanel.
- Navigate to MultiPHP Manager.
- In the Set PHP Version per Domain section, use the search bar to search for your domain and then click the checkbox to the left of the domain name. (Do this for each domain that requires the same PHP version.)
- In the top right of the Set PHP Version per Domain section, click the drop-down menu next to PHP Version and select the desired PHP version.
- Click the Apply button to change the PHP version of each of the selected domains to the selected PHP version.
Please see our documentation for more information: MultiPHP Manager for cPanel