Issue
"Cannot manage PHP versions when CageFS is disabled"
Environment
- Cloudlinux
- CageFS
- PHP Selector
Solution
- Check if
/etc/pam.d/sudo
containspam_lve
# grep -r "pam_lve" /etc/pam.d/
/etc/pam.d/sudo:session required pam_lve.so 500 1 wheel,other - Remove that entry
Cause
To summarize: in order for PHP tab to work
sudo
must not put a process into CageFS, because:- The command which is called from UI looks like this
sudo -u <user> /usr/share/l.v.e-manager/utils/cloudlinux-cli-user.py --data=
- It is essential that the process has access to
/usr/share/cagefs
to be able to execute functions fromcagefsctl.py
Useful links
Comments
0 comments
Please sign in to leave a comment.