How to change the PHP version of your website

How to change the PHP version of your website

Many websites, such as WordPress, run on PHP. You can choose which PHP version your website uses in the Control Panel – for example to switch to a newer, faster and more secure version.

Step 1: Open the developer tools

In the Control Panel, open your website, click Advanced in the top menu and choose Developer tools. The section PHP is shown at the top.

Advanced menu with Developer tools and the PHP section

Step 2: Choose the PHP version

Under Change the PHP version for your website, click the selection field with the current version and choose the new version from the list.

PHP section with the list of available PHP versions

Info

Which version? Versions marked LTS (e.g. 8.3) receive long-term support. Choose the newest version that your application supports.

Step 3: Confirm the change

A window Update PHP version appears. Check the information and click Update. The new version is active after a few moments.

Update PHP version confirmation window with the Update button
Warning

Important: An application that is not compatible with the new PHP version can cause your website to stop working. Check with the developers of your application (or the requirements of your plugins and themes) which version is supported, and create a backup before the change.

Idea

Tip: If your website shows errors after the change, check the php-error.log further down on the same page – or simply switch back to the previous version.