cPanel & Hosting How-Tos How to Change Your PHP Version in cPanel
PHP powers WordPress and most other web apps, and the version you run affects both speed and security. Newer PHP is faster and gets security fixes; very old PHP is slow and unsupported. Here’s how to set the right version in cPanel.
Check what version you run now
In cPanel, open MultiPHP Manager (under Software). You’ll see each of your domains and the PHP version assigned to it. If it says something like 7.4 or lower, it’s time to upgrade.
Step 1: Choose the version
- Open MultiPHP Manager.
- Tick the domain you want to change (or all of them).
- From the PHP Version dropdown, choose your version — for example PHP 8.2 or 8.3.
- Click Apply.
The change takes effect immediately.
Step 2: Enable the extensions you need
Some apps need specific PHP extensions (for example imagick for image handling, intl for internationalization). To turn them on:
- Open Select PHP Version (or PHP Extensions) in cPanel.
- Tick the extensions your app requires.
- Save.
If you’re unsure what you need, most apps list their requirements in their documentation.
Which version should you pick?
- Use the newest version your software supports. For a current WordPress site, PHP 8.2 or 8.3 is a strong choice — faster and fully supported.
- Don’t run end-of-life PHP. Versions that no longer get security updates (anything below PHP 8.1 at the time of writing) are a risk.
- Check compatibility first. An old theme or plugin may not work on the newest PHP. WordPress has a Site Health tool that flags issues.
Upgrade safely on a live site
- Take a backup (cPanel can create one in a few clicks).
- If you can, test on a staging copy first.
- Change the version, then immediately browse your site and check key pages, forms and the admin area.
- If anything breaks, switch back to the previous version in MultiPHP Manager — it’s instant.
Faster PHP, faster site
A newer PHP version plus LiteSpeed and NVMe storage makes a real difference to load times and Core Web Vitals. All our Web Hosting and WordPress Hosting plans let you pick your PHP version and run the latest releases.
Frequently asked questions
Which PHP version should I use?
Use the newest version your software supports. For current WordPress, PHP 8.2 or 8.3 is a good choice - it is faster and still supported. Always check your theme and plugins are compatible before upgrading a live site.
Will changing PHP break my website?
It can if your software is old and not compatible with a newer PHP version. Test on a staging copy first, or change the version and immediately check your site. If something breaks, switch back to the previous version - it takes seconds.
How do I enable a PHP extension like imagick or intl?
In cPanel, open MultiPHP Manager's companion tool (often called 'Select PHP Version' or 'PHP Extensions'), tick the extension you need, and save. Changes apply right away.