How to upgrade your PHP version
If you are using our new Control Panel, refer to this article.
Make the switch and discover a simpler, more secure way to manage your hosting.
We offer the latest stable versions of PHP that are supported by Debian. We encourage you to upgrade your website to the latest version to ensure you are running on a version that is fully supported and patched regularly for security vulnerabilities. Upgrades also ensure better performance and support.
Check for compatibility
Use the PHP compatibility checker to find out if your website is compatible with PHP 8.1. If you’re using version 8.2 or higher, the PHP compatibility checker will be disabled.
We recommend updating during off-peak times and then thoroughly checking your site for possible compatibility issues. The PHP Config tool allows you to downgrade back to the older version of PHP, should you find any errors. Use the same steps as listed below to upgrade/ downgrade your version of PHP.
Refer to PHP documentation on deprecated functionality that could break your website here.
Change your PHP version in konsoleH:
- Browse to konsoleH and log in at Admin or Domain level
- If Admin level: Select or search for a domain name in the Hosting Services tab
- Click Manage Services on the left-hand menu
- Below that select Configuration > PHP Config
- Select the drop-down option next to PHP version.
- Select your choice of version
- Click Save
The upgrade will be completed automatically.
Whether upgrading or downgrading, the PHP directive values will remain unchanged. You will need to use the tool to configure these directives according to your specific website requirements.
Please note: Once Debian announces that they no longer support a version of PHP, we will make plans to remove this option from the tool. It is therefore imperative that you do what is necessary to ensure that your site is compatible with the latest version of PHP.
Disclaimer: By saving the settings on the PHP Config tool, you confirm that you have understood the configuration variables, as well as the possible effects they may have on your scripts.