Forums

[resolved] My index.php is not loading... (3 posts)

  1. igreulich
    Member
    Posted 4 years ago #

    I have a fresh install of..

    Apache 2.2.6
    MySQL 5.0.45
    PHP 5.2.5

    on a WinXP Home 32bit machine.

    Everything installed fine, I tested everything, all the individual parts are working as they are supposed to.

    But when you go the blog (truvel.oiramar.com) currently all you get is the directory tree. If you add the /index.php everything loads like it is supposed to.

    It even happens on the /wp-admin directory as well.

    In either area if you click the index.php, you get to the blog. In the blog proper you cant do anything that would move you off the main index.php file.

    I have been looking at the support blogs, but I didn't find anything helpful.

    I can't go live until this is fixed.

    Ian

  2. kmessinger
    Member
    Posted 4 years ago #

    Your index.php is incorrect. It looks like the header.php should. Index php is a very short file like `<?php
    /* Short and sweet */
    define('WP_USE_THEMES', true);
    require('./wp-blog-header.php');
    ?>`

  3. igreulich
    Member
    Posted 4 years ago #

    Actually, Apache was not looking for .php files, at all.

    I (JUST) changed the httpd.conf to look at .php files (I thought php installation would have done that.., but alas..)

    All is well, Thank you though

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags