WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Got php running but wordpress .php files wont load (6 posts)

  1. mar01006765
    Member
    Posted 2 years ago #

    Hi all

    Pls help if you can:

    Win 7, apache 2.2

    I've got a test.php file which works fine
    Http://benmartin.gotdns.com/wordpress/test.php

    But my test site doesn't work
    Http://benmartin.gotdns.com/wordpress/index.php

    Any help would be appreciated

    Maybe you can see where I am going wrong by checking out the output of my test file?

    Thanks

    Ben

  2. elizzz
    Member
    Posted 2 years ago #

    Try to check if you meet all the requirement of the wordpress version. The latest wordpress version uses minimum php 5.2 (something like that) and won't work on earlier version of php.

  3. equalmark
    Member
    Posted 2 years ago #

    Both files bring a 404 for me. Therefore I would say the test file is not working either?

  4. mar01006765
    Member
    Posted 2 years ago #

    Hi

    Thanks for reply, I got it working but deleted that folder and started again

    In the end it was my apache not serving index.php if dir was requested, got that sorted and it's all good

  5. velvet_grooves
    Member
    Posted 2 years ago #

    Just out of curiosity... how did you do this? (Apache server part)... never done it before so... :)

  6. mar01006765
    Member
    Posted 2 years ago #

    hi

    added this to apache httpd.conf

    AddType application/x-httpd-php .php
    AddType application/x-httpd-php .phtml

    and not sure if this is needed but stuck this in too:

    #
    # DirectoryIndex: sets the file that Apache will serve if a directory
    # is requested.
    #
    <IfModule dir_module>
        DirectoryIndex index.php index.html
    </IfModule>

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.