How to Change PHP Version in cPanel

Quick Summary

Some websites require a specific PHP version. You can change the PHP version from cPanel if your hosting plan supports PHP version selection.

When to Change PHP Version

You may need to change PHP version when:

  • WordPress shows errors
  • Plugin requires a newer PHP version
  • Theme is not compatible
  • Website script requires older PHP
  • Application shows blank page
  • Website shows 500 error

Steps to Change PHP Version

  1. Log in to cPanel.
  2. Search for PHP.
  3. Open Select PHP Version, MultiPHP Manager, or similar PHP tool.
  4. Select the domain.
  5. Choose the PHP version.
  6. Click Apply or Save.
  7. Test the website.

Recommended Practice

Use a currently supported PHP version when possible.

Avoid using outdated PHP versions unless your application requires them temporarily.

Before Changing PHP Version

Create a backup before changing PHP version.

Check compatibility for:

  • WordPress core
  • Plugins
  • Themes
  • Custom scripts
  • PHP extensions

Common PHP-Related Errors

Problem: Website shows 500 error.
Solution: Try another compatible PHP version and check error logs.

Problem: WordPress plugin breaks.
Solution: Update the plugin or use a compatible PHP version.

Problem: Website shows blank page.
Solution: Enable error reporting or check cPanel error logs.

Need Help?

Open a support ticket:

https://bill.cybrohost.com/submitticket.php

Was this answer helpful? 0 Users Found This Useful (0 Votes)