Forums

wp-config with chmod 444 (3 posts)

  1. ChaosPhoenix
    Member
    Posted 1 year ago #

    Hi there,
    I've got a problem. My blog only runs, if I set the chmod of the wp-config to 444. Otherwise it's:

    Warning: main(/is/htdocs/18649/www.alliance-of-tribes.de/wahn/wp-config.php) [function.main]: failed to open stream: Permission denied in /is/htdocs/18649/www.alliance-of-tribes.de/wahn/wp-load.php on line 30
    
    Fatal error: main() [function.require]: Failed opening required '/is/htdocs/18649/www.alliance-of-tribes.de/wahn/wp-config.php' (include_path='.:/usr/share/pear') in /is/htdocs/18649/www.alliance-of-tribes.de/wahn/wp-load.php on line 30

    How insecure is 444? And can someone tell me, what might be the problem?

  2. Dion Hulse (@dd32)
    WordPress Dev
    Posted 1 year ago #

    444 is more secure than 644 which is more secure than 666.
    4 = Read only; 6 = Read/Write.

    In the event that you have problems with Upgrades/Plugin installs on the host, you may find you require adding define('FS_CHMOD_FILES', 0444); (Thats 0444, not a typo) to your wp-config.php file; however, only do that if you actually encounter any issues.

  3. ChaosPhoenix
    Member
    Posted 1 year ago #

    Thanks a lot. I'm a little nervous, because I thought the wp-config should be 440. I always need to lower the security. The uploads folder only works with 777 and not 775 or 755.

Topic Closed

This topic has been closed to new replies.

About this Topic