Securing the Configuration File
We recommend adjusting the permissions for the configuration.php
file in your WHMCS root directory. This file contains sensitive data that you can't recover without a backup copy of the file.
Changing the file permissions helps to avoid accidentally overwriting, editing, or deleting the file.
We recommend performing this task and other security measures immediately after installing WHMCS. For a full list, see More Ways to Secure Your WHMCS Installation.
Changing File Permissions
400
permissions provide the system with read-only access and prevent anyone else from reading, editing, or executing the file.
To change the file permissions, run the following command while in your WHMCS root directory:
chmod 400 configuration.php