Apr 21, 2022
How to Change Your PHP Version
In this article, we will show you how to change the PHP version by using the Hostinger hPanel. Let’s start!
Why We Should Change the PHP Version
Each script or piece of code that you enter on your site has some requirements to meet to execute properly. The PHP version is one of the factors. Updating your PHP to the latest version will not only help run your commands smoothly, but it will also increase your site’s loading speed, performance, and security.
As the PHP language itself is continuously being updated, most popular content management systems like WordPress and Joomla quickly adopt these changes and suggest their users switch to newer PHP versions as well.
Changing PHP Version in Hostinger
Currently, Hostinger’s control panel supports PHP version 7.1 and above. If possible, it’s recommended to use the latest version available. This way you get to benefit from both the performance and security improvements that come with the updates.
It’s worth noting, that while in this example we will use the hPanel, the process for alternative control panels, like cPanel, is quite similar.
To easily change the PHP version on the hPanel:
- Login to the hPanel, scroll down to PHP Configurations under the Advanced category.
- Then, select the version of PHP you want to use from the menu and click Save.
- That’s it! Now you can go back to the hPanel and check if the changes have been updated in your control panel statistics.
Important! We recommend checking the requirements and compatibility of the scripts, plugins, and themes you use before choosing which PHP version to use for your website.
There you have it. Now, you know how to change the PHP version on Hostinger’s hPanel! This skill will help you more efficiently manage how your site works and will give a better understanding of plugin and script compatibility. If you have any questions, let us know in the comment section.