In this article, we will learn how to restore PHP Selector options after restore or migration.
For restoring PHP Selector options from the backup (example user hostperl) do the following:
1. Restore ~hostperl/.cl.selector/ directory.
2. Remove PHP Selector current files from CageFS directory. First, take CageFS prefix:
# /usr/sbin/cagefsctl –getprefix hostperl
3. Next remove cl.selector and cl.php.d in user’s etc directory:
# rm -rf /var/cagefs/04/hostperl/etc/cl.selector
# rm -rf /var/cagefs/04/hostperl/etc/cl.php.d
4. Now, run the command to recreate configs:
# /usr/sbin/cagefsctl –force-update-etc hostperl
Today, we have learned how our Support Engineers restore PHP Selector options after restore or migration.
[Need assistance to fix this error or install tools? We’ll help you.]