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.
EasyApache 4
| PHP | CentOS 7 | EL 8 | EL 9 | EL 10 | Ubuntu 20 | Ubuntu 22 | Ubuntu 24 |
| 5.4 | Available, End-of-Life | Not Available | Not Available | Not Available | Not Available | Not Available | Not Available |
| 5.5 | Available, End-of-Life | Not Available | Not Available | Not Available | Not Available | Not Available | Not Available |
| 5.6 | Available, End-of-Life | Not Available | Not Available | Not Available | Not Available | Not Available | Not Available |
| 7.0 | Available, End-of-Life | Not Available | Not Available | Not Available | Not Available | Not Available | Not Available |
| 7.1 | Available, End-of-Life | Not Available | Not Available | Not Available | Not Available | Not Available | Not Available |
| 7.2 | Available, End-of-Life | Available, End-of-Life | Not Available | Not Available | Not Available | Not Available | Not Available |
| 7.3 | Available, End-of-Life | Available, End-of-Life | Not Available | Not Available | Available, End-of-Life | Not Available | Not Available |
| 7.4 | Available, End-of-Life | Available, End-of-Life | Not Available | Not Available | Available, End-of-Life | Not Available | Not Available |
| 8.0 | Available, End-of-Life | Available, End-of-Life | Available, End-of-Life | Not Available | Available, End-of-Life | Not Available | Not Available |
| 8.1 | Available, End-of-Life | Available, End-of-Life | Available, End-of-Life | Available, End-of-Life | Available, End-of-Life | Available, End-of-Life | Available, End-of-Life |
| 8.2 | Installed, Patches | Installed, Patches | Installed, Patches | Installed, Patches | Installed, Patches | Installed, Patches | Installed, Patches |
| 8.3 | Available, Patches | Available, Patches | Available, Patches | Available, Patches | Available, Patches | Available, Patches | Available, Patches |
| 8.4 | Not Available | Available, Supported | Available, Supported | Available, Supported | Not Available | Available, Supported | Available, Supported |
| 8.5 | Not Available | Available, Supported | Available, Supported | Available, Supported | Not Available | 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
- End of Life (31 Dec 2025)
- PHP 8.2
- Active support until 8 Dec 2024
- Security fixes until 31 Dec 2026
- PHP 8.3
- Active support until 23 Nov 2025
- Security fixes until 31 Nov 2027
- PHP 8.4
- Active support until 31 Dec 2026
- Security fixes until 31 Dec 2028
- PHP 8.5
- Active support until 31 Dec 2027
- Security fixes until 31 Dec 2029
To review the support schedule for PHP, you can do so by visiting these links:
Supported Versions | PHP Documentation
Unsupported Branches | PHP Documentation
Resources
For newer operating systems that do not have Legacy PHP versions available for install, you may be interested in TuxCare ELS PHP. This allows you to install legacy PHP versions with hotfixes and security updates beyond their normal End-Of-Life period. This is currently available for all supported cPanel versions:
Endless Lifecycle Support for PHP
You may also 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.
Comments
0 comments
Article is closed for comments.