Quantcast
Channel: CageFS – CloudLinux KnowledgeBase
Viewing all articles
Browse latest Browse all 13

How to restore PHP-Selector options after restore or migrate

$
0
0

To restore PHP-Selector options and alternate PHP version from backup (example user cltest3) you have to:

  1. Restore ~cltest3/.cl.selector/ directory
  2. Remove PHP-selector current files from cagefs directory:
    /usr/sbin/cagefsctl --getprefix cltest3

    04

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

  3. Run command to recreate configs:
    /usr/sbin/cagefsctl --force-update-etc cltest3

     

 


Viewing all articles
Browse latest Browse all 13

Trending Articles