How to change the PHP version in cPanel
Steps last checked on by the Shroti Host team
Short answer
You choose the PHP version for each domain in MultiPHP Manager in cPanel. Shared and WordPress plans run PHP 8.x. The older PHP 5.6 to 7.4 builds are available on the unlimited line only. They no longer get security fixes, so use them only when an application cannot run on 8.x.
Before you start
All hosting plans. Take a backup, or note the current version, before you change it.
Steps
Step 1: In cPanel open MultiPHP Manager.
Step 2: Tick the domain, pick the PHP version from the list, and apply.
Step 3: Reload your site and click through a few pages, including the admin area.
Step 4: For PHP extensions and settings such as the memory limit or the upload size, use the PHP selector or PHP settings editor in cPanel's Software section, where your plan shows them. Change one thing at a time and reload the site.
How to tell it worked
MultiPHP Manager lists the new version next to the domain, and the site loads without errors. In WordPress, Tools, then Site Health, then Info shows the PHP version under Server.
If it did not work
- The site breaks after the change: switch back to the previous version. A plugin or theme that needs the older version is usually the real problem, so update it first.
- A white page or a 500 error: open Errors in cPanel's Metrics section. The log usually names the file and the plugin.
When to contact support
If an extension you need is not listed, or a setting will not go above a ceiling, it is set on the server. Open a ticket and tell us the extension or the value you need, and why.
We never ask for a password, a card number or an OTP. Do not put one in a ticket or a chat.
Unlimited hosting
The only line with the legacy PHP 5.6 to 7.4 builds, for older applications.