PHP runs WordPress and many other web applications. Updating it can provide security and performance improvements, but changing versions before checking compatibility may cause errors. Follow this procedure for one domain at a time.
Before you begin: confirm your current setup
Sign in to cPanel and identify the affected domain or subdomain. Note the current PHP version and your application requirements. WordPress, themes, plugins and custom scripts may have different compatibility requirements. If you use software with encoded files, confirm its vendor supports the target version.
Step 1: Back up files and the database
Create a recent backup and verify that you know how to restore it. For an active store or membership site, schedule a low-traffic maintenance window and consider testing the change on a staging copy first. A backup alone does not prevent downtime.
Step 2: Find the PHP version tool in cPanel
Look under Software for MultiPHP Manager or Select PHP Version. Availability and behavior depend on your host's configuration. These tools are not interchangeable: one may set a domain-level PHP handler, while the other may manage CloudLinux PHP versions and extensions. Follow the options actually provided in your account rather than assuming both controls should be changed.
Step 3: Select the domain and target version
In MultiPHP Manager, select the relevant domain, choose an available supported PHP version and apply the change. In Select PHP Version, choose the target version and save or set it as current using the controls shown. If you do not see the intended version, ask your hosting provider which versions are supported instead of trying to install PHP yourself on shared hosting.
Step 4: Verify required PHP extensions
Check your application's documented requirements. Common extensions include mysqli, mbstring, curl, intl, zip and gd; some sites also use imagick. The available extension controls depend on the PHP handler. Do not enable extensions at random or assume a missing option means it is unavailable server-wide.
Step 5: Test more than the homepage
- Load several public pages and check for warnings or blank screens.
- Log in to the WordPress or application dashboard.
- Test contact forms, file uploads and search.
- Test checkout, payments and customer login if applicable.
- Review scheduled jobs and PHP error logs for new failures.
What if the site breaks?
Return the domain to its previously recorded PHP version using the same management tool, then retest. If the issue remains, investigate caching, application updates, custom code and extension differences. A PHP rollback does not undo unrelated database or plugin changes.
Common questions
Will changing PHP automatically update WordPress?
No. PHP is the server-side runtime; WordPress core, themes and plugins are updated separately.
Should I always select the newest version shown?
Choose a currently supported version compatible with all required applications. Test first and plan upgrades rather than staying on an unsupported version indefinitely.
Can I set different versions for different domains?
Many cPanel environments allow domain-specific PHP versions, but the exact options depend on server configuration and hosting policy.
Related guides
For troubleshooting after an upgrade, see why WordPress sites become slow. If you need help with a hosted domain, contact Cyclone Hosting support with the domain, version changed, error text and time of the change. Do not send passwords.