How to change PHP versions and settings using MultiPHP Print

  • cPanel
  • 0

Changing the PHP version

MultiPHP enables you to use multiple versions of PHP on your server at the same time. To do this, follow these steps:

  • Log in to cPanel.
  • In the SOFTWARE section of the cPanel home screen, click MultiPHP Manager.
  • Under System PHP Version, cPanel displays the default PHP version for your server. Any domain that does not have a PHP version explicitly set uses this version.
  • 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 Apply.
  • The new PHP version for the domain takes effect immediately.

Changing PHP settings

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:

  • Log in to cPanel.
  • In the SOFTWARE section of the cPanel home screen, 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 PHP Directive, locate the PHP directive you want to change.
  • Under Setting, select the new setting that you want for the directive.
  • At the bottom of the page, click Apply. The new PHP settings take effect immediately.

Was this answer helpful?

« Back