(WHM >> Home >> Software >> MultiPHP Manager)
WHM's MultiPHP Manager interface only appears on systems that run EasyApache 4.
WHM's MultiPHP Manager interface (WHM >> Home >> Software >> MultiPHP Manager) allows you to easily manage the PHP and PHP-FPM configurations of your cPanel accounts. In this interface, you can manage the PHP version, PHP-FPM setting, or Pool Option of any virtual host that you own. You can also set a different PHP version, PHP-FPM, or Pool Options setting for each virtual host.
The PHP Version tab allows you to select the System PHP version, the version of PHP for each domain, and to manage PHP-FPM on each domain.
The System PHP Version functions as the global default for all accounts. When you create a new account, the account uses this version of PHP by default. Any primary domain that you set to Inherit will use the System PHP Version. For more information, read our PHP Inheritance documentation.
To change the system default PHP, perform the following steps:
If you change the system default PHP version, the PHP version of any primary domain that you set to Inherit also changes.
To remove the CloudLinux™ promotions, log into your Manage2 account, navigate to the Update Company Information section, and select the Disabled button next to the Purchase CloudLinux Url or email address option. You can only disable this option if you possess a Partner account.
In EasyApache 4, each domain or virtual host can use any currently-installed PHP version or currently-installed PHP-FPM setting.
The list of domains displays the following information:
Parked domains represent aliases for a primary domain. The system does not list these in the user interface.
Use the Search text box to search for specific domains. You can search by domain name, account name, account owner's name, current PHP version of the domain, or the current PHP-FPM setting of the domain.
To change an account's PHP version, perform the following steps:
Click Apply. The system changes the selected domain's PHP version.
Incorrect ownership of an
Before you can set the PHP-FPM setting for a domain, you must perform the following steps:
The system may display the following message:
This message indicates that your system does not contain one or more of the required PHP-FPM packages. Perform the following steps to install the required PHP-FPM packages:
For more information about the EasyApache 4 interface (WHM >> Home >> Software >> EasyApache 4), read our EasyApache 4 Interface documentation.
To enable or disable an account's PHP-FPM setting, perform the following steps:
Select On to activate PHP-FPM or Off to deactivate it.
If you select a domain with the PHP version set to Inherit, the system will not allow you to set PHP-FPM for that domain. You must either select a PHP version other than Inherit or not use PHP-FPM.
If you enable FPM on an account's primary domain and then change that domain's name, the system will disable FPM for that new domain. You must re-enable FPM on the new domain if you wish to use FPM for the new domain.
Apache limits the performance of PHP-FPM pool options. Apache's configuration settings for pool options must match the PHP-FPM service's configuration settings. For more information on how to configure Apache and Pool Options, read our Apache vs PHP-FPM Bottleneck with Child Processes documentation.
To set a domain's pool options, perform the following steps:
Click Pool Options next to the desired domain that you wish to change. The system will display the following options:
|Process Idle Timeout (s)|
Enter your desired options for
Process Idle Timeout (s), and
Click Save. The system will display the following success message: Successfully applied PHP-FPM Pool options to the selected domain.
Administrators can turn PHP-FPM on or off for all accounts.
To set the System PHP-FPM Status to On, perform the following steps:
In the System PHP-FPM section, click the blue Turn On button next to System PHP-FPM Status. The system will display the Convert All Accounts to PHP-FPM button.
To convert all your accounts to PHP-FPM, click Convert All Accounts to PHP-FPM. The system will display a success message.
If you wish to see the conversion log, click the link provided in the success message above System PHP-FPM Status. Your status will now display as On and all of your accounts, domains, subdomains, and addon domains will run with PHP-FPM enabled.
To set the System PHP-FPM Status to Off, perform the following steps:
PHP Handlers does not apply to PHP-FPM.
In EasyApache 4, each PHP version can use its own PHP handler. The PHP Handlers tab allows you to select the PHP handler that each version of PHP uses.
The list of PHP versions shows:
To change the handler that a PHP version uses, perform the following steps:
Select the PHP handler from the menu.