PHP is included with all our web hosting packages. This is a coding language used to create dynamic web pages on web servers. This language is provided in several versions, which is why you can select different versions with TransIP. As of now we support PHP 5.6, 7.0, 7.1 and 7.2.
Take note: PHP 5.6 and PHP 7.0 will no longer be updated as of January 2019 and will be deemed unsafe to use. For that reason we will no longer support PHP 5.6 and PHP 7.0 as of October 8th 2018. All web hosting packages still using the older versions by then will be automatically set tot PHP 7.2.
The PHP version of your website affects the speed and security of your web site. This means using newer PHP versions leads to more secure and faster web sites. Web hosting packages that are newly created, automatically use PHP 7.2.
You are still free to change PHP versions as you see fit, but keep in mind that older PHP versions will soon stop to be supported. This article shows you how to change the PHP version of your web hosting package.
Changing the PHP version
You can change the PHP version of your web hosting package to another available PHP version when you're logged in to your control panel. To do so, head to the tab 'Domains & Hosting' at the top of the control panel. Next, select your domain name on the left hand side (don't tick the box). Now click on 'Manage your web site'.
Now click on the cog wheel on the top right, followed by 'PHP options'.
You can change the PHP version by selected the desired version in the dropdown menu and clicking on the 'Change' button.
On the same page you can see the option 'Display Errors'. By enabling this option, any error messages present on your web site will be actively displayed on your actual web site. Using this option is great for debugging your web site when it is still under construction.
If you don't want these errors to be displayed on your web site, you will always be able to see any errors in the 'Error Log' section of your web hosting package in your control panel.
Head back over to 'Manage your website' and click the cog wheel once more. Now click on 'Error Log' to show any errors present on your website.
Errors after changing my PHP version
It's possible to see errors on your web site directly after changing the PHP versions. This usually means that plug-ins (WordPress) or extensions (Joomla!) on your web site are outdated and no longer compatible with the newer PHP version. The article 'Error messages when updating the PHP version of your website' contains several tips on troubleshooting this.
In this article we talked about changing the PHP version of your website and how to display any PHP related error messages on your web site.
If you have any questions regarding this article, do not hesitate to contact our support team. You can reach them by using the 'Contact us' bottom at the bottom of this page.
If you wish to discuss this article with other users, feel free to leave a message below.