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
- Log in to cPanel.
- In the Software section, click Select PHP Version (sometimes labelled MultiPHP Manager).
- You will see a list of your domains with their current PHP versions.
- Find your domain and click the PHP version dropdown next to it.
- Select the version you want (e.g., PHP 8.1, PHP 8.2, PHP 7.4).
- 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).
- In cPanel, click Select PHP Version.
- Click the current PHP version link for your domain.
- You will see a list of PHP extensions. Tick the checkbox next to any extensions you need.
- 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.
