Question
What versions of PHP can I install via EasyApache 4?
Answer
Through EasyApache 4, the following PHP versions are available for download depending on your current operating system.
PHP | CentOS 7 | EL 8 | EL 9 | Ubuntu 20 | Ubuntu 22 |
5.4 | Available, End-of-Life | Not Available | Not Available | Not Available | Not Available |
5.5 | Available, End-of-Life | Not Available | Not Available | Not Available | Not Available |
5.6 | Available, End-of-Life | Not Available | Not Available | Not Available | Not Available |
7.0 | Available, End-of-Life | Not Available | Not Available | Not Available | Not Available |
7.1 | Available, End-of-Life | Not Available | Not Available | Not Available | Not Available |
7.2 | Available, End-of-Life | Available, End-of-Life | Not Available | Not Available | Not Available |
7.3 | Available, End-of-Life | Available, End-of-Life | Not Available | Available, End-of-Life | Not Available |
7.4 | Available, End-of-Life | Available, End-of-Life | Not Available | Available, End-of-Life | Not Available |
8.0 | Available, End-of-Life | Available, End-of-Life | Available, End-of-Life | Available, End-of-Life | Not Available |
8.1 | Installed, Patches | Installed, Patches | Installed, Patches | Installed, Patches | Installed, Patches |
8.2 | Installed, Supported | Installed, Supported | Installed, Supported | Installed, Supported | Installed, Supported |
8.3 | Available, Supported | Available, Supported | Available, Supported | Available, Supported | Available, Supported |
- EL: Enterprise Linux (AlmaLinux, Rocky Linux)
- Available, End-of-Life: No longer maintained. Packages still available to install.
- Installed, Patches: Included with new installations by default. Security updates only.
- Installed, Supported: Included with new installations by default. Actively maintained.
- Available, Supported: Not installed by default, but available for installation. Actively maintained.
Recent and upcoming changes include:
- PHP 7.2
- End of Life (30 Nov 2020)
- PHP 7.3
- End of Life (28 Nov 2021)
- PHP 7.4
- End of Life (28 Nov 2022)
- PHP 8.0
- End of Life (26 Nov 2023)
- PHP 8.1
- Security fixes until 25 Nov 2024
- PHP 8.2
- Active support until 8 Dec 2024
- Security fixes until 8 Dec 2025
- PHP 8.3
- Active support until 23 Nov 2025
- Security fixes until 23 Nov 2026
To review the support schedule for PHP, you can do so by visiting these links:
Supported Versions | PHP Documentation
Unsupported Branches | PHP Documentation
Resources
If a version of PHP that you require is not listed above, you may be interested in the "Hardened PHP" feature from CloudLinux and Imunify360:
How do I install legacy versions of PHP?
Depending on your OS, CloudLinux and Imunify360's Hardened PHP feature supports back to PHP 5.1.