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.
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
400 permissions suffice for most systems, some server configurations may require you to set the permission to
If you encounter an error loading the application after setting the permission to
440 and then