CHANGING PHP VERSION FROM CPANEL

 

The latest version of cPanel/WHM (58.3.x) is shipped with the EasyApache 4.0. It allows us to install and run multiple versions of PHP side by side. If your WHM server is running with WHM 58.3.x or later version, you can install multiple PHP versions, and allow individual cPanel user to select or change PHP version of their website right from their cPanel account. Following steps will assist you to change the PHP version of your website and add a custom php.ini file via cPanel.

 

Change the PHP Version from cPanel

 

Step 1: Login into cPanel account via URL https://Server-IP-Address:2083

  • In cPanel, under Software section select MultiPHP Manager

 

 

Step 2: On the next screen, select the website for which you want to change the PHP version.

 

 

 

Step 3: Select the PHP version from the drop down menu and click on Apply button.

 

 

 

Changing PHP Directive Values by Creating Custom php.ini

Step 1:  Login into cPanel account via URL https://Server-IP-Address:2083.

Step 2:  In cPanel, under Software section select MultiPHP Manager.

 

 

 Step 3: Select the website from the dropdown for which you want to create a custom php.ini file.

 

 

Step 4: Change the PHP directive values according to your requirements. Once you are done with the changes, click on Apply button and cPanel will create a custom php.ini file under the root directory of that website with custom changes you have just made to php.ini.


  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

CREATE A MYSQL DATABASE IN CPANEL

Step 1: After logging into cPanel, on the Home Screen. Click on ‘MYSQL Database Wizard’...

CREATE A SUBDOMAIN IN CPANEL

Step 1: On the home screen of the cPanel, click on ‘Sub Domain’     Step 2: Enter the prefix...

CREATE ADDITIONAL FTP ACCOUNTS IN CPANEL

Step 1: On the Home screen of the cPanel, Click on FTP Accounts under ‘Files’ tab       Step...

CREATING A DOMAIN ALIAS IN CPANEL

A domain alias is useful when there are additional domain names and you want to make your website...

CREATE AN ADDON DOMAIN IN CPANEL

Step 1: On the Home screen of the cPanel, Click on the “Addon Domains”      Step 2: Add the...