For restoring PHP Selector options and alternate PHP version from the backup (example user cltest3) do the following:

1. Restore ~cltest3/.cl.selector/ directory.


2. Remove PHP Selector current files from CageFS directory. First, take CageFS prefix:

$ /usr/sbin/cagefsctl --getprefix cltest3
04

 
Then remove cl.selector and cl.php.d in user's etc directory:

$ rm -rf /var/cagefs/04/cltest3/etc/cl.selector $ rm -rf /var/cagefs/04/cltest3/etc/cl.php.d


3. Finally, run the command to recreate configs:

$ /usr/sbin/cagefsctl --force-update-etc cltest3

 

Was this answer helpful? 0 Users Found This Useful (0 Votes)