Every shared-hosting customer eventually asks the same question: “Can I change my PHP version?” On a CloudLinux server with cPanel you actually have two different tools that answer it — CloudLinux PHP Selector and cPanel’s own MultiPHP — and they work in fundamentally different ways. Choosing the wrong default confuses customers and doubles your support load. This comparison explains how each system works, where each one wins, and the setup most hosts should standardize on. (Running DirectAdmin instead? PHP Selector works there too, as covered later — and if you are still evaluating the platform, see how to install CloudLinux.)
How CloudLinux PHP Selector Works – CloudLinux PHP Selector vs MultiPHP
PHP Selector is a CloudLinux component that serves PHP from CloudLinux’s own alt-php packages, installed under /opt/alt/ and kept separate from the panel’s PHP builds. From the end-user control panel, each customer opens Select PHP Version and can:
- Choose the PHP version for their account, from legacy releases up to the newest 8.x builds.
- Enable or disable individual extensions (mysqli, intl, imagick, ioncube and dozens more) with checkboxes.
- Adjust common php.ini settings such as
memory_limit,max_execution_timeandupload_max_filesizewithin limits you define.
Two details matter for admins. First, PHP Selector builds on CageFS — the per-user configuration lives inside the user’s cage, which is why CageFS should be enabled for Selector to work properly. Second, the version applies per account, not per domain: every site under that cPanel user runs the version the user selected.
The other headline feature is HardenedPHP: CloudLinux backports security fixes to old, end-of-life PHP versions (including very old 4.x/5.x releases) for the alt-php builds. On a server with hundreds of legacy sites, that is the difference between “patched by the vendor” and “running internet-facing code nobody maintains” — a serious concern, as the recent wave of critical PHP vulnerabilities shows.
Admins manage Selector defaults in CloudLinux Manager (which versions to offer, the default version, which extensions are on by default) and from the shell with selectorctl, for example to set a user’s version without touching the panel:
selectorctl --set-user-current=<username>:8.2
selectorctl --set-default-version=8.2

How cPanel MultiPHP (EasyApache 4) Works – CloudLinux PHP Selector vs MultiPHP
MultiPHP is cPanel’s native system. PHP comes from EasyApache 4 ea-php* packages built and shipped by cPanel, and versions are assigned in MultiPHP Manager — by admins in WHM for the whole server, and by end users in cPanel for their own sites. Its defining characteristics:
- Per-domain granularity. Each domain and subdomain can run a different PHP version under one account — ideal when a customer has a modern main site and one ancient subdomain.
- Fixed extension sets. The extensions available are whatever the EasyApache 4 profile includes. Users cannot toggle individual extensions; if a site needs something extra, an admin must rebuild the EA4 profile for the whole server.
- Panel-supported versions only. cPanel ships currently supported PHP versions and drops EOL ones. There is no vendor patching of ancient PHP — an old site that needs PHP 5.6 has nowhere to go here.
- PHP-FPM integration. MultiPHP pairs with cPanel’s PHP-FPM pools, with per-domain pool settings managed from the same interface.
PHP Selector vs MultiPHP: Side-by-Side
| Criteria | CloudLinux PHP Selector | cPanel MultiPHP |
|---|---|---|
| PHP builds used | CloudLinux alt-php (/opt/alt) | EasyApache 4 ea-php |
| Granularity | Per account (user) | Per domain / subdomain |
| User can toggle extensions | Yes, per user | No — set by EA4 profile |
| User can edit php.ini options | Yes, within admin limits | Basic editor (MultiPHP INI Editor) |
| Legacy / EOL PHP versions | Yes — HardenedPHP patches them | No — dropped by cPanel |
| Version range | Very wide, incl. legacy | Currently supported versions |
| Requirements | CloudLinux + CageFS | cPanel with EasyApache 4 |
| Works on DirectAdmin | Yes | No (cPanel only) |
| Typical handler pairing | mod_lsapi / LSAPI | PHP-FPM pools |
Which One Should Hosts Use?
Choose PHP Selector as the default if you run a typical shared-hosting fleet: hundreds of mixed WordPress and legacy sites, customers who open tickets to enable an extension, and old sites that cannot move off old PHP yet. The self-service extension checkboxes alone will delete a whole category of support tickets, and HardenedPHP keeps the legacy tail safer than anything MultiPHP can offer. This is the configuration most CloudLinux hosts standardize on, on both cPanel and DirectAdmin.
Choose MultiPHP if your customers genuinely need different PHP versions per domain under one account and can live within cPanel’s supported versions and fixed extension profiles — for example, agency-style resellers hosting many modern sites per account who want PHP-FPM pools managed entirely by the panel.
Can you run both? Technically yes — both stacks can coexist, and some hosts keep MultiPHP available for specific accounts. In practice, offering two version switchers doubles the “my version change didn’t apply” tickets, because users set one tool and test the other. Pick one default per server, document it in your welcome email, and make exceptions deliberately.
Whichever you choose, set it up properly: enable CageFS first, install the alt-php group (yum groupinstall alt-php) for Selector, define a sensible default version (a current 8.x), preselect the extensions WordPress needs, and cap the php.ini values users may raise so Selector stays consistent with your LVE limits.
Troubleshooting Notes
A user’s version change has no effect. Usually the site is served from the other stack (an .htaccess handler forcing ea-php, or a leftover per-domain MultiPHP assignment), or the user is not in CageFS. Check the handler and the account’s MultiPHP assignment.
An extension the user enabled still shows as missing. Confirm the extension exists for that exact alt-php version and that the cage was updated — after installing new alt-php packages, refresh CageFS with cagefsctl --force-update.
Two “Select PHP” pages confuse customers. Expected when both are enabled. Standardize on one (our recommendation: PHP Selector) and hide or de-emphasize the other in your feature list and onboarding docs.
Conclusion
CloudLinux PHP Selector and cPanel MultiPHP solve the same problem from opposite directions: Selector gives each account deep, self-service control over versions and extensions — including vendor-patched legacy PHP — while MultiPHP gives each domain a version from cPanel’s supported set. For most shared hosts, PHP Selector is the better default; keep MultiPHP in mind for per-domain edge cases, and never leave both competing for your customers’ attention.