There was a problem loading the comments.

How to Change the PHP Version in Your Control Panel

Support Portal  »  Knowledgebase  »  Viewing Article

  Print

Note: Changing the PHP version may break your website if the plugins used by the website are not compatible with the new PHP version.

 

Click here for cPanel instructions.

Click here for DirectAdmin instructions.

 

Follow these steps to change the PHP version for a domain in cPanel:

1. Log in to your cPanel account.
For instructions on how to log in to your cPanel account, please click here.

e67bc52bc40656261a64477d109e88c36200cd6ec44572d26e421abce763aa4abd741ae6f2174bef?t=16a6aeb0a7b17c76830f158aac1b2d47

 

2. Under the Software section, click MultiPHP Manager.
0786566df9e934a6b63577c7caaab4c1270cc078eaec5a0d3238ff72bea1a6cdd81b16026ed61017?t=ca3ae04ed9266d04832f31561c5e5a03

 

3a. Scroll to the bottom of the page and select the checkbox for your domain. On the right side, you will see a PHP Version drop-down menu. Select the appropriate PHP version, then click the Apply button.

Note: cPanel offers its version of PHP, which operates on EasyApache. This is depicted in the option with ea-phpxx in the name. Our servers are configured to provide CloudLinux PHP, which is the option with alt-phpxx in the title. We recommend using CloudLinux's version of PHP. (If you have chosen a CloudLinux PHP version, proceed to step 3b and 3c.
Cloudlinux provides its own security patches for older PHP versions, which EasyApache no longer supports. You can also enable specific extensions that some plugins/applications may require. To enable/disable extensions in PHP, see our guide here.

e00a54ab6658e368944146fa6c39a596f20424f5b98ac89733afd3259c9660f2abb8fe22c8ecc55b?t=eb47b350c6dc76d80ba7dcb2110741d0

 

3b. If you have selected to enable PHP via CloudLinux (recommended), head back to Software and Select PHP Version.

f4a51972cdc4cfcc908b7ccdfe0b6bf462771a5f8d0f884800fc76b230dafce5cc0bb1def61c6c6d?t=16fd183fa53dc3243916b86ea567d3ca

 

3c. Click on the Use PHP Selector

649ac2177ad43aa2df73a11c267f020c129dca6a212e5cfde33c83bb3475b518e6739653cd2484f7?t=fddd3cf178a1758ce10e7b93d3b5beeb

 

Follow these steps to change the PHP version for a domain in DirectAdmin:

1. Log in to your DirectAdmin account. For instructions on logging in to your DirectAdmin account, please click here.

074f79c1ccc109c90712b3eef66f8675beddbfbd01531b18ca9f5a32f39b8a735d6b69584fe59cbe?t=780d383132f6c1b1327b6e37f264c0f6

 

2. Under the Extra Feature section, click on Select PHP version.

292dfa9b9d012e2a63c7602eb6e21ea82128fe2ef75db8db0e8879b95c3a31d1e53bda799f64199a?t=67a4200c4fd0030c42fcd683f9c94ce9

 

3. Select the PHP version you want to use from the drop-down box, and click Apply.

ce09c8e9e5cfaa853cfebd79d2db3c81bc38607d8a9f9720530529b9e69ec093b51033f1140c9985?t=63930bcbcb55aa3eba6a1ad35d547391


Share via
Did you find this article useful?  

Related Articles

Tags

© DreamIT Host