Issue

  • CloudLinux is not allowing to use the PHP Selector tool for a particular user. The following error appears:

     Cannot manage PHP versions when CageFS is disabled
  • CageFS status is enabled and no disabled users are listed

    # cagefsctl --cagefs-status
    Enabled

    The list of disabled users is empty:

    # cagefsctl --list-disabled
  • Affected user listed in directadmin admins

    # grep jdoe -i /etc/cagefs/exclude/directadmin* -R
    /etc/cagefs/exclude/directadmin.admins:jdoe

Environment

  • CloudLinux

  • DirectAdmin

Solution

  1. Delete a line with the affected username from the /etc/cagefs/exclude/directadmin.admins

  2. Enable CageFS for that affected user

    # cagefsctl --enable jdoe

Cause

User added into DirectAdmin admins.

more about cheap cloudlinux license

and buy cloudlinux license