Linux Commands and Scripts

Restore PHP Selector Options After Restore or Migration

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 hostnextra) do the following:

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

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

# /usr/sbin/cagefsctl –getprefix hostnextra

04

3. Next remove cl.selector and cl.php.d in user’s etc directory:

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

4. Now, run the command to recreate configs:

# /usr/sbin/cagefsctl –force-update-etc hostnextra

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.]

Tags:
Related Articles