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
- Log in to cPanel.
- Search for PHP.
- Open Select PHP Version, MultiPHP Manager, or similar PHP tool.
- Select the domain.
- Choose the PHP version.
- Click Apply or Save.
- 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:
