Article overview

Help article

I want to change the PHP version of my web site

Take note: As of january 2019, PHP versions 5.6 and 7.0 will no longer receive updates, which make them unsafe to use. For that reason, we will no longer support PHP 5.6 and 7.0 starting October 8th 2018.

 

As a result, each web hosting package still using PHP versions 5.6 and 7.0 will be automatically changed to PHP 7.2.

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 versions 7.1 and 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. This article shows you how to change the PHP version of your web hosting package to another supported version.


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.


Step 1

Next, click on 'Manage your website'.

Click on manage your website



Step 2

Click on the 'Advanced', followed by 'PHP options'.

click on php options



Step 3

Change the PHP version by selecting the desired version in the dropdown menu and clicking on the 'Change' button.

Select the desired PHP version and click Change


Display Errors

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.

Do you have a good idea?

Give us your idea! If it's popular we'll add it to the wishlist!

Has this article been helpful?

Create an account or log in to leave a rating.

Comments

Create an account or log in to be able to leave a comment.

Are you stuck?

Ask one of our specialists to assist you

Contact us