• Resolved oaddesign

    (@oaddesign)


    When trying to configure a new WordPress site, after entering my database info, I get the following message: “Sorry, but I can’t write the wp-config.php file. You can create the wp-config.php manually and paste the following text into it.”

    I then copied/pasted the resultant code and saved it as wp-config.php, however clicking on ‘Run the Install’ simply initiates a vicious circle, returning me to the initial WP setup page.

    Incidentally, this install is on a iis server, which I’m administering from my Mac using Microsoft Remote Desktop.

    Does anyone have any idea how I should proceed to solve this issue? Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Installing on Windows is a bear.

    https://codex.wordpress.org/Installing_on_Microsoft_IIS

    It really is a lot easier if you use a Linux server.

    Thread Starter oaddesign

    (@oaddesign)

    A Linux server is unfortunately is not an option, as the client requires the IIS server for other processes.

    I’m guessing that it has something to do with WordPress not being able to make a connection to the database, but I don’t know how to solve this.

    It sounds like a permission problem to me…the fact that it can’t write the wp-config.php file…has nothing to do with the database. Yes a connection to the database is in the config file but….you would get a “can’t connect” to the database error if that was the problem.

    Check the windows permissions on the root directory of the WP install…i.e. the directory where the wp-config.php file resides.

    Whenever I installed or upgraded WordPress on IIS, I often had to elevate the permissions on the root folder to do the install or upgrade and then I would downgrade it again once the install or upgrade was done.

    If you need more specifics, I can dig into my archives. I don’t run on IIS any more (thank heavens!)…as in your situation it was a client requirement.

    Thread Starter oaddesign

    (@oaddesign)

    Thank you, that did the trick!

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

The topic ‘Vicious installation circle’ is closed to new replies.