2 January 2024

You can check (and change) the PHP version for one or more domains via the MultiPHP Manager in cPanel.

A screenshot of the MultiPHP Manager page in cPanel. It shows that the system version is PHP 7.2 and that I have three domains. Each domain uses a different PHP version.
cPanel’s MultiPHP Manager

The table at the bottom of the page lists all domains in your cPanel account, with their PHP version. As you can see, I have one domain that uses PHP 8.1 (example.com); one domain that uses PHP 7.0 (foo.bar) and one domain that uses PHP 8.2 (git.example.com).

About the system version

At the top of the page you see the system’s default PHP version, which in this case is PHP 7.2. This is the PHP version that is used by default for any new domains you add to your cPanel account. Often, it is a slightly older PHP version. For your website you typically want to change the PHP version to a more recent version.

Which PHP version to use?

It is important to use an actively maintained PHP version for your website. On cPanel servers you can usually run some older and unmaintained PHP versions, but doing so is bad for both security and performance. For instance, if a security flaw is discovered in an outdated PHP version then the flaw won’t be fixed, which makes your website vulnerable to attacks. And similarly, by sticking to an old PHP version your website won’t benefit from performance improvements in newer PHP versions.

As at January 2024 there are three supported PHP versions:

  • 8.1 is no longer actively maintained but still receives security updates.
  • 8.2 and 8.3 are actively maintained.

All older PHP versions are unmaintained and should no longer be used.