Knowledgebase
Portal Home > Knowledgebase > cPanel > MultiPHP Selector
MultiPHP Selector
Overview
cPanel's MultiPHP Manager interface allows you to easily manage the PHP and PHP-FPM configurations of your 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 system PHP version refers to version of PHP that functions as the global default for all accounts.Each domain or virtual host can use any currently-installed PHP version or currently-installed PHP-FPM setting.
- PHP FastCGI Process Manager (PHP-FPM) is an alternative PHP module that allows a website to handle strenuous loads on sites. PHP-FPM maintains pools (workers available to respond to PHP requests) to accomplish this. These pools of workers allow the website to handle more requests than it normally could.
- The Pool Options feature allows you to set automated pools (workers) for your server. This enables your system to run faster and smoother with more processes.
The list of domains displays the following information:
- The name of the domain.
- The domain's account name.
- The PHP version that the domain currently uses.
- A PHP-FPM enabled (?) or disabled (×) indicator.
(Note) Parked domains represent aliases for a primary domain. The system does not list parked domains.
Use the Search text box to search for specific domains. You can search by domain name, account name, current PHP version of the domain, or the current PHP-FPM setting of the domain. Results update automatically as you type.Set a domain's PHP version
To change an account's PHP version, perform the following steps:
- Select the checkbox for the domain that you wish to change.
- Select the desired version of PHP from the PHP Version menu. To always use the system default, select Inherit.
Click Apply. The system will change the selected domain's PHP version.
Notes:
Warning:
- When you change the PHP version of your domain and FPM is enabled, the system changes your FPM version to match the PHP version. If FPM is not enabled on your domain, the system changes the PHP and FPM versions separately.
Incorrect ownership of an
.htaccess
file may cause failures when you change an account's PHP version. Your cPanel account must own the.htaccess
file, and that file must use644
permissions.
Set a domain's PHP-FPM settingNote:
The system may display the following message:
PHP-FPM option is not available because you do not have all required packages installed.
Please use the link below to go to Easy Apache 4 and install these packages before utilizing the PHP-FPM functionality.
- ea-php54-php-fpm
- ea-php55-php-fpm
- ea-php56-php-fpm
To enable or disable an account's PHP-FPM setting, perform the following steps:
- Select the checkbox next to the domain that you wish to change.
Select the desired PHP-FPM setting from the PHP-FPM menu. To always use the system default, select Inherit.
Note:
If you set your PHP version to Inherit, the system will not allow you to set PHP-FPM. You must select a PHP version other than Inherit.
- Select On to activate PHP-FPM or Off to deactivate it.
- Click Apply.
To select all of an account's PHP-FPM settings, perform the following steps:
- Select the checkbox to the left of Domain. This selects all of the domain's accounts in the list.
- Select On to activate PHP-FPM for all selected domains or Off to deactivate it.
Click Apply.
Note:
If you enable FPM on a cPanel account's primary domain and then change that domain's name, the system will disable FPM for that new domain. You must reenable FPM on the new domain if you wish to use FPM for the new domain.
Set a domain's pool options
Note:Apache limits the performance of PHP-FPM pool options. You must reflect a 1:1 configuration setup between Apache and PHP-FPM. For more information on how to configure Apache and Pool Options.
To set a domain's pool options, perform the following steps:
Click Pool Options next to your desired domain. The system will display the following options and their defaults and limits:
Max Children 5
1-10,000
Process Idle Timeout (s) 10
1-10,000,000
Max Requests 20
1-10,000,000
Remember:
If you set your PHP version to Inherit, the system will not allow you to set PHP-FPM or pool options. You must select a PHP version other than Inherit and set PHP-FPM to On to access pool options.
Add to Favourites
Print this Article