How to Change the PHP Version in cPanel

Different websites and applications require specific PHP versions. If a plugin or script is not working, changing your PHP version may fix the issue.

How to Change PHP Version

  1. Log in to cPanel.
  2. In the Software section, click Select PHP Version (sometimes labelled MultiPHP Manager).
  3. You will see a list of your domains with their current PHP versions.
  4. Find your domain and click the PHP version dropdown next to it.
  5. Select the version you want (e.g., PHP 8.1, PHP 8.2, PHP 7.4).
  6. Click Apply. The change takes effect immediately — no restart needed.

Which PHP Version Should I Use?

  • WordPress 6.x — PHP 8.1 or 8.2 recommended
  • Older WordPress sites (before 5.6) — PHP 7.4 as a fallback
  • Laravel 10+ — PHP 8.1 minimum
  • Custom legacy PHP apps — test on PHP 7.4 first, then upgrade if possible

Note: Always take a backup before changing your PHP version. Some older plugins and themes may break on newer PHP versions.

How to Change PHP Extensions

Some applications need specific PHP extensions enabled (e.g., GD, cURL, mbstring).

  1. In cPanel, click Select PHP Version.
  2. Click the current PHP version link for your domain.
  3. You will see a list of PHP extensions. Tick the checkbox next to any extensions you need.
  4. Click Save.

Tip: If you are unsure which extensions to enable, check your application's documentation or open a support ticket and we will advise.

 

 

 

  • PHP version, software, PHP 8.2, PHP 8.1, MultiPHP, cPanel
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to Register a Domain in 5 Minutes

Getting online starts with a great domain name. Follow these simple steps to register your domain...

How to Change Nameservers of Your Domain

Changing your domain’s nameservers is essential when pointing your domain to a different hosting...

Uploading Files Using File Manager in cPanel

Uploading your website files is an essential step in going live. With cPanel's File Manager, you...

How to Access cPanel

cPanel is the control panel for your Hordanso shared hosting account. It is where you manage your...

How to Create an Email Account in cPanel

Creating a professional email address for your domain (e.g., [email protected]) takes less...

Powered by WHMCompleteSolution