Jump to content

[SOLVED] Apache not finding index.php


dicky96

Recommended Posts

I'm sure this is just some silly configuration error

 

If I create a file called index.html and place it in a subfolder of my htdocs folder then http://localhost/subfolder displays the html file, all OK so far :)

 

If I put an index.php file in the subfolder (and remove index.html) then http://localhost/subfolder just displays a directory listing of the folder

 

I have to put http://localhost/subfolder/index.php to actually run the php file

 

What do I have set wrong?

 

TIA

dicky

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.