• Resolved cardinal4

    (@cardinal4)


    I’d followed all the instructions at the manual and uploaded the wp files over to my root directory. But when i ran install.php when it said that “There doesn’t seem to be a wp-config.php file………”, when i could still see it in my FTP client that it was in ../wp-config.php.

    I checked and the immediate error was with the file_exists() function at the top of the install.php script. The function, for some reason, couldn’t find my wp-config.php. It also couldn’t find wp-config-sample.php as well.

    Please help me. I’m using a free hoster. Does the fact that safe_mode is turned on [the hoster won’t turn it off] help?

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

    (@drmike)

    What’s the file permissions set to the wp-config.php file? It should be 666 so that it can be read and written to.

    moshu

    (@moshu)

    @drmike,
    that advice , I am afraid, is as wrong as it could be. I mean it cannot bbe worse 🙂
    No, you don’t need the wp-config to be chmod 666, so that every idiot hacker could access it. 644 is very fine.
    And it never gets written. Totally wrong!

    drmike

    (@drmike)

    Sorry. Could have sworn that it gets written on the install. You can delete that if you want.

    edit: And I never said to keep it at 666. 😉

    Thread Starter cardinal4

    (@cardinal4)

    I did what you told me to, to change the permissions. I set all to 744, which i think is more than what you said, but it still didn’t work. I even set the file permissions of wp-config.php and install.php to Full Settings (777? I forgot?) but it didn’t work. Then i switched hosts and everything worked perfectly. So thankz everyone anyways. I still think it’s something to do with safe_mode=On. Because that’s what the new host had and what the old host didn’t have.

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

The topic ‘file not existing: wp-config.php ?’ is closed to new replies.