How do I change the PHP version?
You can easily switch to a different PHP version from the one.com Control Panel. We recommend using the latest stable PHP version so your website gets the best performance, security, and compatibility.
PHP versions generally have a lifecycle of around four years. Once they reach end of life, they no longer receive official updates. If your site is still using a version that has reached end of life, our paid add-on PHP Extended Support will be automatically activated to keep it secure.
Learn more about why it is essential to keep PHP up to date in our guide: Why do I need to update PHP?
How to change your PHP version
- Log in to your one.com Control Panel.
- Scroll down to Advanced settings and select PHP (& subdomains).
- Locate the (sub)domain for which you want to change the PHP version and click Edit.
- In the pop-up window, select the PHP version you want to switch to. Next to the version, you'll see a label indicating the support status: Latest stable, Stable, Expiring soon or Expired.
- Click Update and then Got it.
PHP version labels
| Label | Meaning |
|---|---|
| Latest stable | You're using the newest version (free) |
| Stable | You're using a supported version (free) |
| Expiring soon | Your PHP version will soon reach end-of-life. Updating is recommended. (free) |
| Expired | Your PHP version is no longer supported. PHP Extended Support will be actived. (paid) |
If your site is using a PHP version marked as Expired, PHP Extended Support is automatically activated to keep your site secure until you update to a supported version. You can stop the add-on and billing by updating to a supported PHP version.
Related articles: