This article describes how to change the PHP version and additional settings by using MultiPHP in cPanel.
MultiPHP enables you to use multiple versions of PHP on your server at the same time. To do this, follow these steps:
If you are using the Paper Lantern theme, in the SOFTWARE section of the cPanel home page, click MultiPHP Manager:
To change the PHP version for a domain, under Set PHP Version per Domain, select the check box next to the domain for which you want to change the PHP version:
In the PHP Version list box, select the PHP version you want to use for the domain, and then click :
In addition to changing the PHP version from cPanel, you can change various PHP settings using MultiPHP. You can enable and disable PHP extensions, as well as configuration directives such as allow_url_fopen, error_log, and many more.
To change your PHP settings, follow these steps:
If you are using the Paper Lantern theme, in the SOFTWARE section of the cPanel home page, click MultiPHP INI Editor:
Under Configure PHP INI basic settings, in the Select a location list box, select the home directory or a domain document root:
Under Setting, select the new setting that you want for the directive.