Title: wp-config.php set to 666
Last modified: August 19, 2016

---

# wp-config.php set to 666

 *  [modwor](https://wordpress.org/support/users/modwor/)
 * (@modwor)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/wp-configphp-set-to-666/)
 * Hi,
    I did the upload and install method of installing WordPress, and made my
   own database. I let WordPress make the wp-config.php file for me.
 * I noticed the next day that wp-config.php was set to 666 as permissions.
 * Is this the default, or has my install been messed with?
 * Any thoughts?
 * Thanks,
    modwor

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [freeandeasyblog](https://wordpress.org/support/users/freeeasy/)
 * (@freeeasy)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/wp-configphp-set-to-666/#post-1875885)
 * I am not sure what took place after your installation, but you definitely do 
   not want to have 666 permissions. The _wp-config.php_ file should be at least
   644 permission or even 444 permission if you do not want anyone to edit it.
 * Just to be on the safe side, check you config.php file to make sure it has all
   the correct information and run [http://wordpress.org/extend/plugins/wp-security-scan/](http://wordpress.org/extend/plugins/wp-security-scan/)
 *  Thread Starter [modwor](https://wordpress.org/support/users/modwor/)
 * (@modwor)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/wp-configphp-set-to-666/#post-1875955)
 * Thanks for the info, Freeandeasyblog. I appreciate it.
 * I did switch the permissions and as far as I can see, the config file has the
   right info.
 * If anyone knows, I would like to know if the wp-config.php file that is automatically
   made for you by the WordPress install has a default of 666 as permissions.
 * It would help me know if anyone who shouldn’t have has poked their nose into 
   my directory. 🙂
 * Thanks,
    modwor
 *  [freeandeasyblog](https://wordpress.org/support/users/freeeasy/)
 * (@freeeasy)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/wp-configphp-set-to-666/#post-1875969)
 * modwor,
 * I just ran manual wordpress installation to confirm and yes the config.php file
   is 666 after it is created during a manual installation. More than likely this
   it is 666 because the software need these permissions in order to have access
   to fill the config.php file with the needed information.
 * As long as you changed the permissions after the installation you should be fine.
 *  Thread Starter [modwor](https://wordpress.org/support/users/modwor/)
 * (@modwor)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/wp-configphp-set-to-666/#post-1876091)
 * Thank you so much, freeandeasyblog.
    That was really nice of you to do. I appreciate
   the help. Have a great weekend.
 * modwor

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘wp-config.php set to 666’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [modwor](https://wordpress.org/support/users/modwor/)
 * Last activity: [15 years, 3 months ago](https://wordpress.org/support/topic/wp-configphp-set-to-666/#post-1876091)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
