Change the PHP version per domain in cPanel Select PHP Version (MultiPHP) after confirming your application supports the target release and you have a current backup.
Check application requirements
- WordPress and plugins list supported PHP versions in their documentation.
- Custom PHP apps may require specific extensions enabled on the same screen.
Back up before changing PHP
Download files and databases — cPanel backup download or WordPress backup guide.
Select PHP per domain
- Open Select PHP Version in cPanel.
- Choose the domain or document root.
- Pick a supported PHP version from the list shown for your server.
- Save changes.
Inherited vs explicit versions
Domains may inherit the server default until you choose a version explicitly. After selection, the domain uses your chosen version until changed again.
Extensions and options
- On the same screen, enable required extensions (for example
mysqli,curl,mbstringfor WordPress). - Avoid enabling unused extensions.
Test after changing
- Load the site homepage and admin area.
- Check cPanel error logs if pages return 500 errors.
- Revert to the previous PHP version if a plugin breaks — critical error troubleshooting.
Avoid end-of-life PHP
Do not run unsupported PHP versions on production. Upgrade applications that block modern PHP rather than staying on obsolete releases.
Available versions vary by server. If you need a specific extension or version for a commercial script, open a ticket with your domain and PHP version shown in Select PHP Version.