How do I enable LVE and PHP-Selector in LiteSpeed?
In LiteSpeed admin interface do the following: Configuration -> Server -> Edit -> “Enable LVE” = “Yes” -> Save If you are using CageFS then choose cagefs there. To enable PHP-Selector with...
View ArticleHow do I move /usr/share/cagefs-skeleton to other place because of low disk...
NOTE: If you are placing skeleton in /home directory on cPanel servers, you must configure the following option in cPanel WHM: WHM -> Server Configuration -> Basic cPanel/WHM Setup -> Basic...
View ArticleHow do I move user’s home folder to another location if I have cagefs installed?
You can move home directories of the users in the following way:cagefsctl --disable username1 username2 cagefsctl --unmount username1 username2 Move home directories to new location, edit /etc/passwd...
View ArticleHow do I uninstall CloudLinux or it’s features
Please be sure you remove CloudLinux features right way, here are links to documentation: Removing OptimumCache Removing mod_lsapi Removing MySQL Governor Removing CageFS Removing PHP-Selector...
View ArticleHow do I configure Apache to have Python script run in CageFS?
If you want to run Python scripts in CageFS and have them fully secure you will have to use suexec with CGI or suexec with FastCGI .
View ArticleSharing more directories with single user account over CageFS
CageFS has a mechanism to make any additional location with users content available from inside. This is a quite useful way to share needed backup directories for users if you are giving ftp/ssh access...
View ArticleConfiguring CloudLinux software and PHP Handlers on a server without control...
Due to the fact that from time to time our Helpdesk meets requests related with some problems with CageFS, PHP Selector, Apache server etc., we present this article to describe how to configure these...
View ArticleIntegrating LDAP users with CageFS
When using LDAP to store userdata it requires additional configuration to work properly with CageFS. By default CageFS does not see LDAP user, like this:# id adam uid=16859(adam) gid=100(users)...
View ArticleWhy CageFS installation changes jailshell to regular bash on cPanel?
During CageFS package installation or update all users with jailshell enabled will have it changed to regular /bin/bash in /etc/passwd . This is done to avoid possible conflict with virtfs when...
View ArticleHot to add java to CageFS
If you would like to make java available from CageFS inside you have to follow this sptes: 1. Create /etc/cagefs/conf.d/java.cfg and add needed binary files to it:[java-custom] comment=Java-custom...
View ArticleHow to restore PHP-Selector options after restore or migrate
To restore PHP-Selector options and alternate PHP version from backup (example user cltest3) you have to: Restore ~cltest3/.cl.selector/ directory Remove PHP-selector current files from cagefs...
View ArticleHow to mount a directory inside cagefs for certain users only
The easiest way is to use split approach. But to achieve this, you need to add a username inside the directory you want to share: # mkdir /sharedir # ln -s /share_dir /sharedir/username # ln -s...
View ArticleRunning PHP from cronjob
Issue symptoms Some PHP scripts executed with cronjobs are not working properly, are interrupted or just hang. Known affected website engines: Magento, CakePHP . Cause The issue is caused by PHP CGI...
View Article