Your site runs on whichever PHP version is selected for it. The servers offer several, from PHP 5.6 up to 8.4, and the default is 8.4.
Change the version
- In cPanel open Select PHP Version.
- Pick the version from the dropdown at the top and click Set as current. (The older MultiPHP Manager also exists. Use one tool consistently, because they can show different values.)
- Reload your site and click around the main pages.
Add PHP extensions
In Select PHP Version use the Extensions tab to tick the ones your software needs, such as imagick, intl or soap. The Options tab holds the usual settings (Changing PHP settings such as memory limit and upload size).
Which one to pick
- Use the newest version your software supports, and 8.3 or 8.4 for current WordPress sites. Newer PHP is usually faster and receives security fixes. Old versions no longer do.
- Upgrade in steps and take a backup first (Backups and how to restore your files).
If it doesn't work
- A blank page or a 500 error after changing: switch back to the previous version, then check the error with Fixing a 500 Internal Server Error or WordPress white screen (blank page).
- A warning about a missing extension: enable it in the Extensions tab.
- An old theme or plugin is not compatible: update it, or replace it. Staying on an old PHP is a security risk.
- The site shows a different version than the one you set: the setting may be on a subdomain or addon domain. Select the right domain first if the tool asks.