PHP version conflicts are a common headache on multi-tenant hosting servers. One customer wants an older application runtime while another wants the newest supported PHP release. CloudLinux addresses this with selectors that let hosting accounts choose their runtime without changing PHP for the entire server.
What CloudLinux PHP Selector does
CloudLinux describes its Selectors as tools that let hosting accounts choose their own PHP, Python, Ruby or Node.js version while administrators control which versions are offered. CloudLinux also advertises more than 120 PHP extensions across its PHP versions.
The practical benefit is isolation of application requirements. A legacy site does not necessarily force every other hosting account onto the same PHP version.
Per-account versus per-domain PHP versions
The exact behavior depends on your CloudLinux and web-server configuration. Historically, PHP Selector is commonly managed at the account level, while newer CloudLinux components can support more granular per-domain behavior in compatible setups.
That distinction matters for administrators. Before promising customers that two domains inside one account can run different PHP versions, verify the current CloudLinux version, selector configuration, web server and isolation mode. CloudLinux’s current component documentation specifically describes per-account runtime selection, while recent PHP-package changes have also addressed per-domain behavior under LiteSpeed isolation.
PHP extensions can be the hidden problem
Changing the PHP version is not enough when an application depends on extensions such as Imagick, Redis, ionCube, mbstring or a database driver. A site may appear to fail after a PHP change even though PHP itself is running correctly.
Use a repeatable process: record the old PHP version and enabled extensions, switch the runtime, test the application, inspect the PHP error log and then enable only the extensions the application actually requires.
CloudLinux PHP Selector troubleshooting checklist
- Confirm which PHP version the domain is actually executing.
- Check whether the desired version is installed and offered by the administrator.
- Compare enabled extensions before and after the change.
- Check the application’s PHP compatibility requirements.
- Review LiteSpeed or Apache PHP-handler behavior if the selected version is ignored.
- For isolated domains, verify that CageFS and the relevant CloudLinux isolation components are healthy.
- Test from both the command line and a real web request where possible.
Why hosting providers use CloudLinux
PHP Selector is only one part of CloudLinux. Resource isolation, CageFS, LVE controls and language selectors are aimed at making shared or multi-tenant hosting more predictable. If your VPS hosts many unrelated customer sites, that operational isolation can be more valuable than any single feature.
Does your VPS need a CloudLinux license?
If you run a multi-tenant hosting server and regularly deal with resource abuse, PHP-version conflicts or account isolation, CloudLinux may be a good fit. LicenseCage offers CloudLinux licensing for VPS and server environments. Review the license catalogue and compare the cost with the support time saved by stronger tenant isolation.
FAQ
Can every account run a different PHP version?
CloudLinux supports independent runtime selection, but the exact granularity depends on the installed components and configuration.
Does PHP Selector update PHP automatically?
It provides runtime selection; operating-system packages and supported PHP builds still need normal maintenance.
Will changing PHP automatically fix a broken WordPress site?
No. Plugin compatibility, extensions, configuration and application code can all affect the result.
Bottom line: PHP Selector is most useful when you manage multiple applications with different runtime requirements. Treat it as part of a controlled hosting stack rather than a one-click cure for PHP problems.
Sources: CloudLinux components and CloudLinux PHP package changelog.