The MultiPHP Manager in cPanel allows you to run multiple versions of PHP on the same server. This is useful if you host multiple websites that require different PHP versions. You can also configure PHP settings per domain using the MultiPHP INI Editor.
Why Use MultiPHP?
-
Run different PHP versions for different domains.
-
Ensure compatibility with older applications while keeping newer sites up to date.
-
Manage PHP settings without editing configuration files manually.
Changing the PHP Version
-
Log in to cPanel.
-
On the Tools page → Software section, click MultiPHP Manager.
-
Under System PHP Version, cPanel shows the default PHP version for the server.
-
Any domain without a specific PHP version set will use this default.
-
-
To change the PHP version for a domain:
-
Select the checkbox next to the domain.
-
From the PHP Version list, choose the desired version.
-
Click Apply.
-
-
The new PHP version takes effect immediately.
Changing PHP Settings
-
Log in to cPanel.
-
On the Tools page → Software section, click MultiPHP INI Editor.
-
Under Configure PHP INI basic settings, select the location:
-
Home directory or
-
Domain document root.
-
-
Locate the PHP directive you want to change (e.g.,
memory_limit,upload_max_filesize,allow_url_fopen). -
Adjust the setting using the dropdown, slider, or text box.
-
Click Apply.
-
The new settings take effect immediately.
Notes
|