How to choose PHP version on Linux hosting?

To choose your PHP version:

In cPanel go to "Software/Services"

Click "Select PHP Version"

Click the dropdown for "PHP Version" and choose the version of PHP you like

Click the "Set as current" button

Note: Make sure you have the proper modules enabled for the PHP version you choose, as some apps/scripts require certain modules.

For example, WordPress requires the mysql module and you will receive an error if not enabled when browsing your WordPress installation.

  • 0 Users Found This Useful
這篇文章有幫助嗎?

相關文章

How do I set the PHP version for a directory?

We understand that sometimes you may install multiple apps that will require different PHP...

How do I create a PHP info page?

You can display the servers PHP configuration and what modules are currently loaded using a PHP...