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

# PHP Versions Compatibility in ORIV 

> Learn about PHP Versions Compatibility in ORIV. Understand which PHP versions work with different stacks and Ubuntu server versions.

With **ORIV**, you can select from various PHP versions depending on your server setup. This gives you the flexibility to support both older applications and newer PHP websites.

Check out the table below to learn PHP versions compatibility based on the server stack, operating system version, and whether they are supported on ORIV or not.

## **Supported PHP Versions on Ubuntu Servers**

|                         |                    |                            |                    |
| ----------------------- | ------------------ | -------------------------- | ------------------ |
| **Server Stack**        | **OS Version**     | **Supported PHP Versions** | **Current Status** |
| **NGINX**               | Ubuntu 24.04 LTS   | PHP 8.1, 8.2, 8.4, 8.5     | Yes                |
|                         | Ubuntu 22.04.5 LTS | PHP 5.6 to 8.5             | Yes                |
|                         | Ubuntu 20.04 LTS   | PHP 7.4                    | ⚠️ Deprecated      |
| **OpenLiteSpeed (OLS)** | Ubuntu 24.04 LTS   | PHP 8.1, 8.2, 8.3, 8.4     | Yes                |
|                         | Ubuntu 22.04.5 LTS | PHP 7.4 to 8.2             | Yes                |
|                         | Ubuntu 20.04 LTS   | PHP 7.4                    | ⚠️ Deprecated      |
| **ARM (OLS only)**      | Ubuntu 24.04 LTS   | PHP 8.3                    | Yes                |

### **📌Notes**

* **Ubuntu 20.04 is deprecated** in ORIV. You can no longer create new servers or sites using it directly.
* If you still need **PHP 7.4** or **Ubuntu 20.04**, we recommend that you migrate to the latest Ubuntu version.
* You can connect **fresh Ubuntu 24.04 LTS x64 servers** from any provider to ORIV.
* These new servers support both **NGINX** and **OpenLiteSpeed (OLS)** stacks.

If you need help choosing the right stack or PHP version, reach out to our support team. We are ready to assist you at any time.

Still stuck? Contact our [**support team**](https://oriv.cloud/support) for any of your queries.
