How to change PHP version and INI settings in cPanel hosting

MultiPHP for cPanel

Skip to end of metadata


Go to start of metadata


With cPanel's hosting provided by Hayhost, adjusting your account's PHP settings has never been easier. You can specify PHP versions and configurations for individual domains and subdomains under your cPanel account using the 'MultiPHP Manager' and 'MultiPHP INI Editor' tool.

You will find both tools accessible in the 'Software' section of your cPanel dashboard.

MultiPHP Manager




This tool is used to adjust the PHP version used for the various domains under your cPanel account. As stated on the page, any domain that is set to the ‘inherit’ 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 configuration, which could be adjusted by the server administrator at any time. To lock your domain to one PHP version, we recommend choosing a PHP version explicitly and avoiding the ‘inherit’ option. Using the inherited PHP version also prevents you from utilizing the PHP-FPM option 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.

MultiPHP INI Editor


This tool is used to edit the various PHP settings and configurations for your domains. To begin, select a domain from the dropdown list at the top of the page. Selecting the ‘Home Directory’ option will adjust settings for all domains on your cPanel account. However, any domains which have options explicitly set via their own entry would have those settings take precedence over any configurations in the main Home Directory entry.

Once a location is chosen from the drop-down list, you will see multiple PHP directives which you can adjust. The directives listed here are simply the most common to require changes, you are able to make changes directly to the local PHP configuration file itself by selecting the ‘Editor Mode’ tab at the top of the screen. Please note that the Editor Mode is intended for advanced users and any misconfigurations within Editor Mode could result in PHP errors or issues on your sites, we recommend keeping track of all changes you make within the Editor Mode in case they need to be reverted.

  • php, cpanel
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to upload your websites to Cpanel hosting

There are several ways to upload a site – we will provide you with the most common ones: 1....

Installing third-party SSL Certificate on cPanel account

Our cPanel accounts support SSL certificates from us, as well as third-party vendors. SSL...

Redirect Website from HTTP to HTTPS (.htaccess)

If you do not have a .htaccess file, create a .htaccess file in the public_html folder or in the...

How to unlock IP address in Server Firewall

We are proud of our secure servers. And if your IP address was blocked by mistake, you can easily...

Creating a database in cPanel (MySQL Database Wizard)

Log into your cPanel. Click the MySQL Database Wizard under the Databases heading. Next to...