Innovate | Connect | Transform
ContactService statusUSD $

GICT knowledge base

PHP Versions on cPanel: Everything You Need to Know

Published

PHPcPanel

PHP Versions on cPanel: Everything You Need to Know

If you are running a PHP site here at InterServer, you have probably seen notifications in your dashboard talking about “PHP updates.” PHP is essentially the engine that powers your website. Just like a car engine, it needs regular maintenance and the occasional upgrade to keep things running fast and secure.

However, we know that technology can be confusing. You might be wondering which versions of PHP you can actually use on your cPanel account and what happens if your older website isn’t ready for the newest version yet. Let’s break it down in plain English.


What PHP Versions Does cPanel Officially Support?

cPanel generally stays in step with the official PHP development team. As a rule of thumb, cPanel supports the versions of PHP that are currently being maintained by the global PHP community. This usually includes the most recent two or three major releases.

Using these modern versions is your best bet for a fast website. Newer PHP versions are optimized to handle more visitors at once while using less “brain power” from the server. Plus, they come with the latest security patches to keep hackers at bay. You can check the official cPanel support list to see the exact versions currently in their rotation.

The “Old Site” Dilemma: What if I Need an Older Version?

We’ve all been there. You have a WordPress site that you love, but it relies on an older theme or a specific plugin that hasn’t been updated in years. If you try to force that site to run on the brand-new PHP 8.3, the whole thing might “break” or show an error.

Standard operating systems usually drop support for old PHP versions (like 5.6 or 7.0) once they reach their “End of Life.” In a normal environment, this would leave you stuck. But at InterServer, we have a solution for that.

How CloudLinux Saves the Day

To give you more flexibility, we utilize CloudLinux. This is a specialized operating system designed for web hosting that includes a feature called “HardenedPHP.”

CloudLinux takes those old, “retired” versions of PHP and secures them. They “backport” security fixes, meaning they take the safety updates from the new versions and custom-fit them into the old ones. This allows you to run legacy code without leaving your front door wide open to security risks.

Through CloudLinux, you can often access a much wider range of versions, including:

  • Legacy versions like 5.1, 5.6, and 7.0
  • Transition versions like 7.4
  • The newest 8.x releases

Moving to AlmaLinux

If you are managing your own VPS or dedicated server with us, you might be running AlmaLinux. The great news is that if you find yourself needing those older PHP versions for compatibility, an AlmaLinux server can be converted to CloudLinux quite easily.

This conversion unlocks the full list of supported PHP versions, giving you the best of both worlds: modern server stability and old-school software compatibility.

How Do I Change My Version?

Ready to make the switch? You don’t need to be a coding genius to do it. Simply log into your InterServer cPanel and look for the “Select PHP Version” icon. From there, you can pick the version that works best for your site with just a couple of clicks.

Pro Tip: Always create a backup of your site before changing your PHP version. If things look wonky after the update, you can simply switch back to your previous version in the same menu while you troubleshoot the issue.

Still have questions about which version is right for your site? Our support team is here 24/7 to help you get your environment dialed in perfectly!

Related guides

Account services are unavailable until the production backend is configured.