• I recently installed WP 2.7 on an existing install of …

    Windows XP
    Apache 2.0.x
    PHP5
    MySQL

    The install proceeded just fine, and I checked the DB and all the tables were created.

    However, when I go to load index.php from my root domain, it does not load and gives me the list of files in that directory.

    I’ve added a .htaccess file to the directory to make sure its able to load an index.php instead of the index.html that used to be there.

    Also, clicking on the index.php just brings me right back to the list of files in that directory.

    I thought it was a problem with PHP, but the admin dashboard loads fine.

    What could be causing this behavior?

    Thanks!

    – Brian

Viewing 9 replies - 1 through 9 (of 9 total)
  • you have
    DirectoryIndex index.php
    in your .htaccess?

    Thread Starter bfrank

    (@bfrank)

    yep, exactly.

    index.php will not render, and just get the directory of files.

    Thread Starter bfrank

    (@bfrank)

    figured it out.

    http.conf was not correctly configured …

    1) fixed AllowOverride to “all”
    2) added “index.php” to DirectoryIndex there as well

    Now working great.

    ooooh thank you so mush, had the same problem and I was about to go crazy… but now its rolling perfectly.

    Friends need your help urgently.

    I just upgraded to wordpress 2.6.2 to 2.7.1 and now I can not access the blog from any browser. I can log in to wordpress, I see my posts and everything. If I write an entry without publishing it can be previewed. But I can not access the home page or blog entries posted.

    Greetings and I hope your help.

    Ah completed the 4 steps for the installation of wp 2.7.1.

    I think I am having the same problem that bfrank was having. Both on my admin page, and on the public page, all I see is a list of directories. I used fantastico to install WP, and it worked fine on my wife’s site, but doesn’t on mine. I don’t understand how to do what bfrank did to fix his. Can someone please advise me.

    Had the same problem

    Put “DirectoryIndex index.php” in my .htaccess file and it solved the problem.

    I have “DirectoryIndex index.php” in my .htaccess file, but I still have the problem. I do not have a http.conf file.

    correction. I had index.html in my .htaccess file. I added index.php and all is well.

    This is a bug. It should be fixed.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘index.php not being displayed, just list of files in directory’ is closed to new replies.