How to change PHP versions and settings using MultiPHP

Last modified: Wednesday March 8th, 2023


This article describes how to change the PHP version and advanced settings using MultiPHP in cPanel.

Changing the PHP version

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

  1. Log in to cPanel.
  2. Click MultiPHP Manager in the SOFTWARE section of the cPanel home screen:            How to change PHP versions and settings using MultiPHP multiphp manager
    If you can’t find MultiPHP Manager in the SOFTWARE section, your server does not support this feature.
  3. cPanel displays the default PHP version for your server under System PHP Version. Any domain that does not have an explicitly installed PHP version uses that version.
  4. To change the PHP version for a domain, select the check box next to the domain for which you want to change the PHP version under Set PHP Version per Domain: How to change PHP versions and settings using MultiPHP set php version
  5. Select the PHP version you want to use for the domain in the PHP Version list box, and click Apply: How to change PHP versions and settings using MultiPHP chanding php version
  6. The new PHP version for the domain takes effect immediately.

Changing PHP settings

With MultiPHP you can also change various PHP settings. It is possible to enable and disable PHP extensions as well as configuration directives such as allow_url_fopen, error_log, and many more.

With the help of the function, there is no need to configure and maintain custom files for PHP settings from the command line. Instead, you can manage all PHP settings directly from cPanel.

Please follow these steps to change your PHP settings:

  1. Log in to cPanel.
  2. Click MultiPHP INI Editor in the SOFTWARE section of the cPanel home screen:           How to change PHP versions and settings using MultiPHP multiphp ini editor
    If you can’t find MultiPHP INI Editor in the SOFTWARE section, your server does not support this feature.
  3. Select the home directory or a domain document root under Configure PHP INI basic settings, in the Select a location list box:                How to change PHP versions and settings using MultiPHP configure php ini basic settings
  4. Locate the PHP directive you want to change under PHP Directive.
  5. Select the new setting that you want for the directive under Setting.
    Depending on the directive you choose, you may need to use the slider to enable or disable the setting. Also, you may need to enter a value in the text field.
  6. Click Apply at the bottom of the page.
  7. New PHP settings take effect immediately.

Looking for an outstanding cPanel-based web hosting provider? Try our web hosting packages with cPanel

Was this article helpful?
Views: 221

10 Years Beehosting!
Celebrate with 50% OFF + FREE Site Transfer.

Sidebar

Beehosting.pro website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.

Menu