[requires lvemanager 0.5-63 or higher]
PHP Selector provides an easy way to figure out which versions are available and selected for end user from command line. You can get this information by running:
$ /usr/bin/cl-selector --summary php --user _USERNAME_
5.2 e - -
5.3 e - s
5.4 e - -
5.5 e - -
native e d -
The first column defines the PHP version. Native -- means native PHP version, like the one installed by cPanel with EasyApache.
Second column will contain either e or -. If e is present, it means that given version is enabled, and can be selected by end user.
Third column can have values d or -. If d is present, that version is considered a 'default' version. Only one PHP version will have d indicator
Fourth column can have values s or -. If s is present, that is the selected version, currently being used by end user. Only one PHP version will have s indicator.
In case user is not inside CageFS, and as such doesn't use PHP Selector, you will see following error message:
ERROR:User is not in cagefs