Speed, security, compatibility, performance. These are just four of the reasons you should keep your PHP version up to date. With Joomla 3.10.x the recommendation has been PHP 7.3+, with Joomla 4.0.x the recommendation has been PHP 8.0+. In this article we will know how to change PHP Version of your Joomla website in cPanel hosting easy with some click.
Read this article first if you want check PHP of hosing that your Joomla website is using: READ
What happen if I dont update PHP version
If you use code that is outdated and not supported in the newer version of PHP, then your site will give errors and may stop working altogether. For example, if you haven't updated your Joomla website to the latest version, or if your website uses custom code, for which an update isn't readily available. In that case, you need to update the code to make it compatible.
How to Change PHP Version of your Joomla website in cPanel hosting?
The latest versions of cPanel make it easy to choose what PHP version your site is using. With just a few clicks, you can switch between different versions and even use different versions across sites in the same cPanel. This is especially helpful when upgrading older sites, troubleshooting, or dealing with third-party applications. Let’s take a look at how to make the most of PHP on all types of servers!
Login to cPanel
Click the MultiPHP Manager link in the Software section of cPanel.
Check the box for the site or sites you wish to update.
Select the desired PHP Version from the drop-down menu.
Finaly, Click the Apply button.