> ## Documentation Index
> Fetch the complete documentation index at: https://help.onetsolutions.net/llms.txt
> Use this file to discover all available pages before exploring further.

# PHP Version

> Change the PHP version for your web hosting account

OnetSolutions web hosting includes multiple PHP versions. You can change the PHP version to match your application's requirements.

<Info>
  **Prerequisites**

  * A Web Hosting service with OnetSolutions
  * Access to your cPanel account
</Info>

## Changing PHP Version

<Steps>
  <Step title="Log in to cPanel">
    Access your cPanel account through the OnetSolutions dashboard.
  </Step>

  <Step title="Open PHP Manager">
    Locate and click on "MultiPHP Manager" or "Select PHP Version" in the Software section.
  </Step>

  <Step title="Select your domain">
    In the PHP Manager interface, you'll see a list of your domains and subdomains. Check the box next to the domain you want to modify.
  </Step>

  <Step title="Choose PHP version">
    Use the "PHP Version" dropdown menu at the top-right to select your desired version.
  </Step>

  <Step title="Apply changes">
    Click "Apply" to save your changes. The new PHP version takes effect immediately.
  </Step>
</Steps>

<Warning>
  Before changing PHP versions, ensure your website's code and applications are compatible with the new version to avoid errors.
</Warning>

## Available PHP Versions

PHP follows a 4-year support cycle: 2 years of active support, then 2 years of security-only fixes. Pick a version that is still supported upstream — running an end-of-life branch means no more security patches.

### Active support (recommended)

These branches receive both bug fixes and security patches. Use them for new projects.

| Version     | Released | Active support until | Security support until |
| ----------- | -------- | -------------------- | ---------------------- |
| **PHP 8.5** | Nov 2025 | Dec 31, 2027         | Dec 31, 2029           |
| **PHP 8.4** | Nov 2024 | Dec 31, 2026         | Dec 31, 2028           |

### Security support only

These branches still receive security fixes but no new features or non-security bug fixes. Safe for existing applications, but plan your upgrade before the EOL date.

| Version | Security support until |
| ------- | ---------------------- |
| PHP 8.3 | Dec 31, 2027           |
| PHP 8.2 | Dec 31, 2026           |

### End of life — do not use

These branches no longer receive any updates, including security fixes. If you are still running one of them, migrate as soon as possible.

* PHP 8.1 (EOL since Dec 31, 2025)
* PHP 8.0 (EOL since Nov 26, 2023)
* PHP 7.4 (EOL since Nov 28, 2022)

<Tip>
  For new projects, choose **PHP 8.5** or **PHP 8.4**. Check the official [PHP supported versions](https://www.php.net/supported-versions.php) page to track upstream changes.
</Tip>
