Question
How do I install legacy versions of PHP?
Answer
cPanel provides the latest stable versions of PHP available for each operating system.
What versions of PHP are available in EasyApache 4 on CentOS 7?
What versions of PHP are available in EasyApache 4 on AlmaLinux 8?
What versions of PHP are available in EasyApache 4 on Ubuntu?
If you require a legacy version of PHP not already supported by EasyApache, CloudLinux offers Hardened PHP.
PHP versions available for Hardened PHP are:
- PHP 4.4.9
- PHP 5.1
- PHP 5.2
- PHP 5.3
- PHP 5.4
- PHP 5.5
- PHP 5.6
- PHP 7.0
- PHP 7.1
- PHP 7.2
Hardened PHP versions on CloudLinux
If you'd like to upgrade to CloudLinux from CentOS 7 or AlmaLinux 8: