Different sites on one account can run different PHP versions.
CHANGING THE VERSION
- In cPanel open MultiPHP Manager under Software.
- Tick the domain to change.
- Select the version from the "PHP Version" dropdown at the top right.
- Click Apply.
The change takes effect immediately.
CHOOSING A VERSION
Use the newest version your application officially supports. PHP 8.1 or 8.2 suits most current sites and is noticeably faster than PHP 7.x. Very old applications may require an older version, but running unsupported PHP is a security risk and should be a temporary measure while you update the software.
TESTING AFTERWARDS
Load the homepage, an inner page, any checkout, and the admin area. If you see a fatal error about a deprecated function or unexpected syntax, switch back one version from the same screen immediately and update the software before trying again.
MISSING EXTENSIONS
If an application reports a missing PHP extension, open Select PHP Version > Extensions and enable it. Commonly needed ones are imagick, intl, zip, curl, gd, mbstring, soap and bcmath.