How to change the PHP version in cPanel

  1. Open "Select PHP Version" (group "Software").
  2. The "Account Global Settings" tab applies to all sites of the account.

PHP version

  1. Click the current version next to "PHP version".
  2. Pick the version you need. The change applies immediately.
Choosing the PHP version
Choosing the PHP version

"native" is the server's system version. Choose a specific version that your CMS supports. Current WordPress, Joomla and OpenCart run well on PHP 8.2 or 8.3.

Extensions

On the "Extensions" tab, tick an extension to enable it - it turns on immediately. Grey ticks are extensions that are always on.

PHP extensions
PHP extensions

The set of extensions is stored per version. After switching the version, check that the extensions you need are on there too. "Reset PHP Extensions to default" restores the default set.

PHP limits (memory_limit, upload_max_filesize and others) are on the next tab: PHP settings.

Need another PHP version for one site only? See how to run sites on different PHP versions.

Questions and answers
The one your CMS and plugins support. For current CMS - 8.2 or 8.3.
Enable the needed extensions for the new version or switch back.
Yes, with "MultiPHP Manager" - see "How to run sites on different PHP versions in cPanel".