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 binary is being called instead of PHP CLI version. It happens due to

read more

The easiest way is to use split approach.

But it will work only if you add a username inside the directory you want to share:

Please note that first you create empty ‘sharedir’ directory, and

read more

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:

<br

read more

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:

The problem is that in LDAP pwd.getpwall() function

read more

You can move home directories of the users in the following way:

 

Move home directories to new location, edit /etc/passwd to reflect new path then enable cagefs: