This article was first published here

sPanel is very similar to cPanel and therefore it can be assumed that this article applies to both.

Donell Cox – 1 month ago – Updated

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.

PHPCentOS 7EL 8EL 9Ubuntu 20Ubuntu 22
5.4Available, End-of-LifeNot AvailableNot AvailableNot AvailableNot Available
5.5Available, End-of-LifeNot AvailableNot AvailableNot AvailableNot Available
5.6Available, End-of-LifeNot AvailableNot AvailableNot AvailableNot Available
7.0Available, End-of-LifeNot AvailableNot AvailableNot AvailableNot Available
7.1Available, End-of-LifeNot AvailableNot AvailableNot AvailableNot Available
7.2Available, End-of-LifeAvailable, End-of-LifeNot AvailableNot AvailableNot Available
7.3Available, End-of-LifeAvailable, End-of-LifeNot AvailableAvailable, End-of-LifeNot Available
7.4Available, End-of-LifeAvailable, End-of-LifeNot AvailableAvailable, End-of-LifeNot Available
8.0Available, End-of-LifeAvailable, End-of-LifeAvailable, End-of-LifeAvailable, End-of-LifeNot Available
8.1Installed, PatchesInstalled, PatchesInstalled, PatchesInstalled, PatchesInstalled, Patches
8.2Installed, SupportedInstalled, SupportedInstalled, SupportedInstalled, SupportedInstalled, Supported
8.3Available, SupportedAvailable, SupportedAvailable, SupportedAvailable, SupportedAvailable, Supported
OS dependent PHP support
  • 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.

Leave a Reply