Support » Localhost Installs » install.php blocked on every directory

  • Resolved ianwp


    I’m getting a weird problem here.
    I have at least 30 localhost WP installs made before and every one of them went fine.
    Now (after re-installing Win7 and XAMPP) I can’t access ANY install.php file (whether it’s WPs own, a dummy empty one, etc). Also, it doesn’t matter where it’s located (wp-admin folder, a random place outside WP, etc).

    This is not an antivirus or Windows firewall problem.
    It seems to be coming from apache itself.
    The apache error log says this

    [Fri Nov 30 16:46:40.223524 2012] [access_compat:error] [pid 5876:tid 1604] [client ::1:59365] AH01797: client denied by server configuration: D:/xampp/htdocs/vmf05/wp-admin/install.php

    Does anyone have a clue on this?
    I’ve went through all the normal steps and haven’t found a solution yet.

    Thanks in advance for your help.

Viewing 3 replies - 1 through 3 (of 3 total)
  • I can’t believe what the problem was!
    I moved a .htaccess file that had the WP better security directives to the root of xampp’s site as a backup, and forgot to move it back after.

    No install file ANYWHEre could be accessed since it had the following:

    <files install.php>
    Order allow,deny
    Deny from all

    And, since the file was on the root, it was affecting the whole server.

    you helped me tremendously with your post. I did very similar mistake and find out it after reading about your experiences.
    Thanks a lot!

    I’m glad it helped! 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘install.php blocked on every directory’ is closed to new replies.