MultiPHP en cPanel

MultiPHP in cPanel

With the release of cPanel's EasyApache 4 tool, modifying the PHP version of your cPanel account will be easy. You will be able to specify PHP versions and configurations for individual domains and subdomains in your cPanel account using the 'MultiPHP Manager' tool and 'MultiPHP INI Editor'.

You will find both tools accessible in the 'Software' section in your cPanel control panel.

MultiPHP Manager

This tool is used to adjust the PHP version used for the various domains in your cPanel account. Any domain that is set to the “inherited” value indicates that it does not have its own PHP version explicitly set. This means that the domain is using the default global PHP version and settings, which the server administrator could adjust at any time. To lock your domain to a PHP version, we recommend that you choose a PHP version explicitly and avoid the “inherit” option. Using the legacy PHP version also prevents you from using the PHP-FPM option which you will also find in this tool.

PHP version

To change the PHP version of a domain, click the checkbox to the left of the domain name, then select your preferred PHP version from the drop-down list on the right side of the page and click “Apply.” . You can set multiple domains to the same PHP version at once by selecting multiple checkboxes.

PHP-FPM

Note: PHP-FPM must first be enabled by your Server Administrator in EasyApache 4 before this option is available.
With EasyApache 4, you can now enable PHP-FPM for individual domains in your account. PHP-FPM is an alternative PHP handler that helps with strenuous loads and high traffic on your domains by maintaining a “pool” of worker processes that can be used to process multiple PHP requests simultaneously. Since PHP-FPM only processes PHP requests, it can serve PHP content faster than other alternative methods and handlers. PHP FPM allows you to not only allocate additional processing power to sites that require it, but also allows you to limit those additional resources to avoid overcommitting available server resources decided by your hardware.

MultiPHP INI Editor

This tool is used to edit the various PHP settings and configurations for your domains. To get started, select a domain from the drop-down list at the top of the page. Selecting the “Home Directory” option will adjust the settings for all domains in your cPanel account. However, any domain that has options explicitly configured through its own entry will have those settings take precedence over any settings in the main home directory entry.

Leave a Reply

EN