October 2, 2019
2min Read
Merkys M.
In this article, we will show you how to change the PHP version by using the Hostinger hPanel. Let’s start!
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.
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:
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.
January 12 2018
When will you support php 7.2?
September 09 2020
I'm just follow these steps, but my wordpress still saying that I use PHP 5.6. Whats wrong ?
Replied on November 11 2020
Hey there Gabriel. Make sure to press SAVE on the bottom, and clear your browser cache before checking again. The PHP version should show correctly.
November 19 2020
I followed the steps and everything seems to be working perfectly but when I ssh into the my hosting and check the php version it still shows the old php i had before. Is there a different method for ssh?
Replied on February 09 2021
Hi there! You can also use this method of creating a phpinfo file to check the current version of your PHP as well as other PHP settings ;)
January 01 2021
php 8??
Replied on February 09 2021
Hi there! System administrators are currently testing PHP version 8, so it should be ready for shared and cloud servers fairly soon!
Domantas G.
Replied on January 15 2018
Hey king, Support for PHP 7.2 should be added in near feature. Our devs are already testing it