[LVE Manager 0.5-63 or higher]
PHP Selector provides an easy way to figure out which versions are available and selected for end user from the 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.
The second column will contain either e or -. If e is present, it means that given version is enabled, and can be selected by the end user.
The 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.
The fourth column can have values s or -. If s is present, that is the selected version, currently being used by the end user. Only one PHP version will have s indicator.
In case a user is not inside CageFS, and as such doesn't use PHP Selector, you will see the following error message:
ERROR:User is not in cagefs