Search
  
Categories
 Last Articles
 Design
 Coding: PHP and Smarty
 Miscellaneous
 Admin Area
 Installation
[add new article]
Configuration File Write Permissions

Author: David
Added: October 20, 2008

If you receive the following message after logging into your admin panel...


Configuration file is still writeable by the user the webserver runs under. This poses a major security risk, please drop writing permissions for include/config.php file immediately!


... there are two possible solutions:



  1. Using your FTP client locate include/config.php. Right click on the file name. There should be an option for "chmod" or "file attributes". Select this option from the right click menu. Then change the permission to either 400 or 444.

  2. If you are using cPanel sometimes the ONLY way to change the permissions is by logging into cPanel and selecting the file manager. Then locate include/config.php and select file permissions. Then change the permissions to 400 or 444.


If you have any trouble with following these instructions, or you are still getting the message, please post a message in our support forums. Remember if you are using cPanel #1 above may not work, and you will need to change the permissions via the file manager in cPanel.