Skip to main content
Every website has its own PHP settings in Developer tools. You can switch PHP version, turn optional extensions on, change php.ini values such as the memory limit, and read the PHP error log.

Difficulty

Intermediate

Time

5 minutes

Open Developer tools

Go to Websites, click your website, then open Advanced → Developer tools. You can also click PHP version under At a glance on your website’s Home tab.
Developer tools page showing the PHP card with a version drop-down, a Restart button, built-in and configurable extensions, and the php-error.log viewer

The PHP section of Developer tools


Change the PHP version

1

Back up first

Check you have a recent backup on the Backups tab in case your site doesn’t work with the new version.
2

Choose a version

Click the version drop-down on the PHP card and pick a version.
PHP version drop-down listing 8.5 Latest, 8.4 LTS, 8.3 LTS, 8.2 LTS, 8.1, 8.0, 7.4, 7.3, 7.2, 7.1, 7.0 and 5.6

Available PHP versions

3

Confirm

The Update PHP version box explains what will change. Click Update. You’ll see PHP version updated within a few seconds.
Update PHP version confirmation box with Close and Update buttons

Confirm the change

4

Check your website

Open your website and click around. If something is broken, switch back to the previous version the same way.

Which version should I choose?

For WordPress, choose an LTS version unless a plugin tells you otherwise.

Turn PHP extensions on or off

The PHP card lists two kinds of extension:
  • Built-in extensions are greyed out. They’re always on and can’t be changed.
  • Configurable extensions have a checkbox. Tick one to turn it on straight away, for example ‘apcu’ enabled. Untick it to turn it off.
Configurable extensions available: apcu, brotli, oauth, pdo_dblib, pdo_pgsql, pgsql and xmlrpc. Only turn on the ones your software asks for.

IonCube Loader

Some commercial PHP scripts need IonCube Loader. Turn it on with the IonCube loader toggle further down Developer tools. It isn’t available on PHP 8.0.

Change php.ini settings

Use the php.ini editor to change PHP limits and options for this website, for example to allow bigger uploads.
1

Click Add directive

A new row appears.
2

Enter the setting

Type the Directive name (for example memory_limit), choose the Value type (Text or Boolean), and enter the value (for example 256M).
php.ini editor with a new row for the memory_limit directive, value type Text, value 256M, and Cancel and Create buttons

Add a php.ini directive

3

Click Create

You’ll see Directive added.
  • To change or remove one of your directives, click ⋮ on its row and choose Edit or Delete.
  • Rows marked Inherited are our server defaults. Add your own directive with the same name to override one.

Common settings

Changes apply within a few seconds, with no restart needed. They also apply to PHP scripts run by cron jobs. Server defaults you haven’t changed show an Inherited badge; the default time zone is Europe/Berlin.
To change a value later, click ⋮ → Edit on its row, enter the new value and click Save. Delete removes your setting and goes back to the server default.

Read the PHP error log

The php-error.log box at the bottom of the PHP card shows recent PHP errors for this website, with the time it was last refreshed. Click the refresh icon to load new entries. If there are none, it says No PHP errors logged since restart. For WordPress, you can also turn on debug logging in the WordPress Toolkit.

Restart PHP

Click Restart at the top right of the PHP card to restart PHP for this website. To restart everything, including SSH sessions and background processes, use Restart container under Quick links on the Home tab.

Troubleshooting

A plugin, theme or script doesn’t support the new version. Switch back to the previous version, then update your software before trying again. Check the php-error.log box to see which file is causing the problem.
Add upload_max_filesize and post_max_size directives with larger values, for example 64M, then restart PHP.
Add or raise the memory_limit directive, for example to 256M or 512M.
Tick it under Configurable extensions. If it isn’t listed, open a ticket and tell us which extension you need.

Need Extra Help?

If you encounter any issues, our support team is ready to assist:

Save on Your Hosting

Ready to upgrade your hosting? Use code KB20 at checkout for 20% off your first order!

Last Updated: October 2026