We introduce an improved PHP Selector interface for cPanel in LVE Manager v.6.0.6-1 and other new features. I'll show them all below.
How to switch from managing by cPanel MultiPHP Manager to managing by CloudLinux PHP Selector
cPanel has its own MultiPHP Manager to manage PHP version for a domain. To move a domain from managing by MultiPHP Manager to managing by CloudLinux PHP Selector it is needed to meet the particular conditions:
- The following components should be installed:
- System PHP Version is not alt-php (it should be ea-php)
You can check it in cPanel Admin interface → MultiPHP Manager → PHP versions
- Appropriate PHP handler is selected for PHP version which is the system version. PHP Selector is compatible with the following technologies: suPHP, mod_fcgid, CGI (suexec), LiteSpeed. You can check what handler is used in cPanel Admin interface → MultiPHP Manager → PHP Handlers
- A domain does not have php-fpm enabled. You can check if php-fpm is enabled\disabled in cPanel Admin interface → MultiPHP Manager → PHP versions → scroll to Set PHP Version per Domain
- PHP version for a domain equals to a System PHP Version. You can check PHP version in cPanel Admin interface → MultiPHP Manager → PHP versions → scroll to Set PHP Version per Domain
- PHP version in the CloudLinux PHP Selector does not equal to the Native PHP version. You can check it in the cPanel User interface → select PHP version → select PHP version that does not equal Native → click Set as current.
Dashboard Notifications
We process the most popular issues and add notification of them to your Dashboard (admin interface).
Diagnostic Tool
On the Selector tab (admin interface) we have improved our diagnostic tool.
What issues this tool can handle:
- Mod_suexec is not installed
- Alt-php version is the system default version
- Some users domains have php-fpm enabled or PHP version different from the system default version
You can refresh the diagnostic if the issue was fixed.
PHP Selector Tab (Admin Interface)
In the Selector tab, we have added a sub-tab Domains with all User-Domain pairs.
When an admin clicks Use PHP Selector, php-fpm is set off and PHP version is set to the system default version. The user’s domain gets the PHP version selected in the user interface of PHP Selector.
PHP Selector Tab (End-User Interface)
The Domains tab is also available in the PHP Selector end-user interface.
If an administrator has successfully performed the steps one to four from the How to switch section, then an end-user can configure a domain to use CloudLinux PHP Selector.
An end-user should do the following:
- Click Use PHP Selector
- Set version in PHP Selector
If php-fpm is enabled for a domain (see step four from the How to switch section) the only administrator can set it to disable.
Admin can disable My domains sub-tab in the Admin interface → LVE manager → Selector in case of irrelevance of this feature for a specific server.
How to update
yum update lvemanager cagefs --enablerepo=cloudlinux-updates-testing
How to downgrade
yum downgrade lvemanager lve-utils cagefs cagefs-safebin alt-python27-cllib --enablerepo=cloudlinux-updates-testing
Changelog
lve-manager-6.0.6-1
- WEB-1799: Add an ability to get current version for all users
- WEB-1776: Admin side : redesign PHP Selector interface
- WEB-1783: Implement logic about disable the Domain tab for user
- WEB-1770: Admin side: implement logic to work with domains in the PHP Selector tab
- WEB-1775: Admin side: implement API to disable PHP-FPM and set system version for domain
- WEB-1794: Admin side: add paginator to the table with domains
- WEB-1629: Incorrect PHP error_reporting view if value is long
- WEB-1789: User side: identify what filters are selected
- WEB-1783: Implement logic about disable the Domain tab for user (part2)
- WEB-1788: Admin side: message about unworkable PHP Selector if alt-php version is the system default
- WEB-1809: Use new design for old paginator
- WEB-1802: Admin side: Reduce the number of filters in the Domain tab
- WEB-1816: Set URL of RSS feed as
https://blog.cloudlinux.com/tag/technical-blog/rss.xml
- WEB-1793: Use the
--style=user
option when request user graphs
- WEB-1803: Admin side: behavior of the Domain tab if CageFS is disabled
- WEB-1822: Show unavailable page when CageFS is disabled
- WEB-1823: PHP Selector small fixes
- WEB-1785: Admin side: Dashboad warning about PHP Selector issue
- WEB-1821: Show right version in confirmation window for activate PHP Selector
- LVEMAN-1645 cl-quota does not cleanup old users
- WEB-1279: Show waiting progress of cldiag in the Selector tab
llve-utils-4.0.6-1
- PTCLLIB-192: Implement new folder-based hooks installation mechanism on DirectAdmin
- LU-1654: Set the
cloudlinux=yes
parameter in the /usr/local/directadmin/custombuild/options.conf
- LU-1685: Correct a typo in cldiag help
- WEB-1788: Admin side: message about unworkable PHP Selector if alt-php version is the system default
- LU-1686: Add cldiag cron check enabled metric
- LU-1544: LVE limits don't reset to the signed package limits in DirectAdmin for the account which was created by the reseller
- LU-1677: Add collecting of number of domains and subdomains on the server in daily stats
- LU-1691: Fix lve-utils performance regression
- LU-1672: Add metric for datacycle usage
- WEB-1785: Admin side: Dashboad warning about PHP Selector issue
- WEB-1784: Admin side: message about incompatibility
lalt-python27-cllib-2.0.11-1
- WEB-1783: Implement logic about disable the Domain tab for user
- PTCLLIB-199: Investigate why
pre_delete_hooks
fails on cPanel
- PTCLLIB-192: Implement new folder-based hooks installation mechanism on DirectAdmin
- WEB-1823: PHP Selector small fixes
lcagefs-7.0.4-1
- PTCLLIB-199: Add debug check in the
pre_delete
hook
- WEB-1788: Admin side: message about unworkable PHP Selector if alt-php version is the system default
- CAG-1033: Disable unneeded cagefsctl calls on cPanel, DirectAdmin and others
- LU-1670: Add logging for cagefsctl calls in hooks