How to Change the PHP Version in cPanel

How to Change the PHP Version in cPanel

Your website’s PHP version can be changed from cPanel → MultiPHP Manager. Available versions appear in the dropdown for your account. Select only from the versions listed for your package.

Which option should I choose?

Required PHP version Select this option in MultiPHP Manager
PHP 7.4 alt-php74
PHP 8.0 alt-php80
PHP 8.1 alt-php81
PHP 8.2 ea-php82
PHP 8.3 ea-php83
PHP 8.4 ea-php84
PHP 8.5 ea-php85

Rule of thumb:

  • For PHP 7.4, PHP 8.0, and PHP 8.1 — use the alt- version (for example alt-php81).
  • For PHP 8.2, PHP 8.3, PHP 8.4, and PHP 8.5 — use the ea- version (for example ea-php82).

Before you start

  1. Confirm which PHP version your application supports (WordPress, Laravel, custom PHP, etc.).
  2. Where possible, test on a staging domain first.
  3. If the dropdown looks incomplete, open cPanel in Google Chrome Incognito or a Firefox Private Window, then try again.

Steps — Change PHP version (MultiPHP Manager)

  1. Log in to cPanel.
  2. Search for MultiPHP Manager and open it.
    (Path: Software → MultiPHP Manager)
  3. Tick the domain you want to update.
  4. Open the PHP Version dropdown.
  5. Select the correct alt- or ea- option using the table above.
  6. Click Apply.
  7. Wait about one minute, then refresh your website.

Using “inherit” (system default)

If available, inherit follows the server’s system default PHP version (currently typically PHP 8.2 / ea-php82). Use inherit only when you intentionally want to follow the server default.

Important notes

  • Only versions shown in your dropdown are available for your account/package.
  • Additional versions cannot be enabled on request for staging or restricted packages.
  • After changing PHP, clear any application/CDN cache/Nginx Cache from cPanel.
  • If the site errors after a change, switch back to the previous version and contact support with your domain and a screenshot of the dropdown. This likely means the selected version is not compatible with your Code/CMS/Framework.
  • php selector, change php version in cpanel
  • 0 Usuários acharam útil
Esta resposta lhe foi útil?

Artigos Relacionados

How can I get a full backup of my account?

1.  Log into cPanel and click on the "Backups" link under the Files section. 2.  On the next...

How can I password protect a directory?

1.  Log into your cPanel and click on the "Password Protect Directories" link under the...

How can I stop people from hotlinking to my site?

  1.  Log into you cPanel and click on the "Hotlink Protection" link under the Security...

How can I take a backup of the entire account from cPanel and save it in my machine?

Please follow the steps below  to take a backup of the entire account from cPanel and save it in...

How can I backup my files?

1.  Log into cPanel and click on the "Backups" link under the Files section 2.  Under the...

Powered by WHMCompleteSolution