Question
What versions of PHP are available in EasyApache 4 on Ubuntu?
Answer
We actively support two versions of Ubuntu. Both provide the same PHP compatibility.
Ubuntu 22.04 supports PHP 8.1 through PHP 8.5.
Ubuntu 24.04 supports PHP 8.1 through PHP 8.5.
| PHP | Ubuntu 20.04 | Ubuntu 22.04 | Ubuntu 24.04 |
| 7.2 | Not Available | Not Available | Not Available |
| 7.3 | Available, End-of-Life | Not Available | Not Available |
| 7.4 | Available, End-of-Life | Not Available | Not Available |
| 8.0 | Available, End-of-Life | Not Available | Not Available |
| 8.1 | Installed, Maintenance | Installed, Maintenance | Installed, Maintenance |
| 8.2 | Installed, Supported | Installed, Supported | Installed, Maintenance |
| 8.3 | Available, Supported | Installed, Supported | Installed, Supported |
| 8.4 | Not Available | Available, Supported | Available, Supported |
| 8.5 | Not Available | Available, Supported | Available, Supported |
- Available, End-of-Life: No longer maintained. Packages are 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.
These versions of PHP are not available when moving to Ubuntu:
- PHP 5.4
- PHP 5.5
- PHP 5.6
- PHP 7.0
- PHP 7.1
- PHP 7.2
You can run this command to retrieve a list of currently available versions for your system:
# apt update && apt-cache search ea-php | grep -Ei "(ea-php[0-9]{2})\s"
As new packages are regularly added to our repositories, you should run the above command to get the most up-to-date information on which PHP packages are available.
Resources
For an overview of all supported PHP versions, please see our primary document:
Comments
0 comments
Article is closed for comments.