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

 

 

Link to comment
https://forums.phpfreaks.com/topic/100351-solved-apache-not-finding-indexphp/
Share on other sites

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.