Question
On my CloudLinux system, I see both EA and ALT PHP Packages installed. What is the difference between these packages?
Answer
CloudLinux enables several different PHP management systems on cPanel systems: the cPanel-provided MultiPHP Manager, its own PHP Selector with Alternative Hardened PHP, Hardened PHP for EasyApache 4, and TuxCare PHP Extended Lifecycle Support (ELS).
CloudLinux additionally provides older, End-of-Life versions of EA-PHP with security patches applied beyond the support provided by cPanel on alternative operating systems.
EA-PHP
EA-PHP is the PHP version that cPanel packages and provides via the EasyApache 4 repositories. These are the standard versions included in a base installation of cPanel and managed via the MultiPHP Manager in both the cPanel and WHM interfaces.
Older versions of EA-PHP that include security patches are available on CloudLinux, while these are otherwise unavailable on other distros like CentOS/Ubuntu/AlmaLinux. Extensions and different versions of EA-PHP are managed via the EasyApache 4 interface in the WHM, and settings are managed via MultiPHP Manager.
ALT-PHP
ALT-PHP includes PHP versions that CloudLinux provides along with their PHP Selector feature. These versions of PHP are often hardened and patched against vulnerabilities to allow users to continue to use applications that require outdated PHP versions.
As of this time, PHP Selector currently allows users to install and use PHP 4.4+. The options for these versions are managed via CloudLinux's LVE Manager plugin in WHM.
A key advantage of PHP Selector is that it gives individual cPanel users control over their own PHP environment without requiring server administrator involvement. Each user can:
- Switch between any installed ALT-PHP version independently of other accounts on the server.
- Enable or disable individual PHP extensions (e.g.
curl,gd,mbstring) for their own account via the cPanel interface. - Override PHP configuration options (e.g.
memory_limit,upload_max_filesize) at the per-account level using aphp.inieditor in cPanel.
This per-user module management makes ALT-PHP and PHP Selector particularly useful on shared hosting environments where different accounts have different application requirements.
For more details regarding the installation of ALT-PHP and PHP Selector, please refer to CloudLinux documentation.
Hardened PHP
Hardened PHP is a security-enhanced build of PHP provided by CloudLinux through its integration with Imunify360. It applies additional security patches and exploit mitigations on top of standard PHP releases, reducing the attack surface for common PHP-based vulnerabilities — including on versions still within their upstream support lifecycle.
Hardened PHP is available for EasyApache 4 (EA-PHP) versions and integrates with the standard MultiPHP Manager in WHM, requiring no changes to existing PHP management workflows. When enabled, sites transparently use the hardened builds instead of standard EA-PHP binaries.
For full installation and configuration details, refer to the Imunify360 documentation:
Imunify360 – Hardened PHP Documentation
Imunify360 also provides a version of CloudLinux's Hardened PHP for EasyApache 4 & MultiPHP Manager
TuxCare PHP ELS
TuxCare PHP Extended Lifecycle Support (ELS) provides ongoing security patches for PHP versions that have officially reached End-of-Life (EOL) upstream. This allows servers running legacy applications dependent on outdated PHP versions to continue receiving security fixes without requiring an immediate application migration.
TuxCare PHP ELS patches are compatible with EA-PHP EOL versions on CloudLinux systems and are delivered through the standard CloudLinux/TuxCare yum repositories. Covered versions have included PHP 5.1 through select older 7.x branches, depending on the ELS coverage period.
For the full list of currently covered PHP versions and repository setup instructions, refer to the TuxCare documentation:
Feature Comparison
| Feature | EA-PHP | ALT-PHP (PHP Selector) | Hardened PHP | TuxCare PHP ELS |
|---|---|---|---|---|
| Managed via WHM | ✅ | ✅ | ✅ | ✅ |
| Per-user PHP version switching | ✅ | ✅ | ✅ | ✅ |
| Per-user module enable/disable | — | ✅ | — | — |
| Per-user php.ini overrides | ✅ | ✅ | ✅ | ✅ |
| Security hardening patches | — | ✅ | ✅ | ✅ |
| EOL PHP version support | ✅ (CloudLinux only) | ✅ | — | ✅ |
| Included with CloudLinux OS license | ✅ | ✅ | ✅ | ✅ |
Additional Resources
How To Install a PHP Version in WHM
Using the MultiPHP Manager with CloudLinux's PHP Selector
Imunify360 also provides a version of CloudLinux's Hardened PHP for EasyApache 4 & MultiPHP Manager
Comments
0 comments
Article is closed for comments.