PHP configuration 'file not found'
Posted: Sat May 17, 2008 5:05 am
Hello,
I am just trying to setup PHP 5.2.6 to run with apache 2.0.63. I beleive I have added all the details I should have to the configuration files, but when I try to load a .php file through my browser it says file not found. Using win XP home sp2, IE7
e.g. my doc root is C:\webs\test. I have a file in this directory called index.php
if I enter http:\\localhost in my browser it says file not found.
if i enter http:\\localhost\index.php it says file not found
If I change the filename from index.php to index.htm, the browser displays an index with a list of the files in the document root (only index.htm at present but if I add more they are listed also). If I click on the file in the list it displays the htm file.
any ideas?
Thanks
Martin
I am just trying to setup PHP 5.2.6 to run with apache 2.0.63. I beleive I have added all the details I should have to the configuration files, but when I try to load a .php file through my browser it says file not found. Using win XP home sp2, IE7
e.g. my doc root is C:\webs\test. I have a file in this directory called index.php
if I enter http:\\localhost in my browser it says file not found.
if i enter http:\\localhost\index.php it says file not found
If I change the filename from index.php to index.htm, the browser displays an index with a list of the files in the document root (only index.htm at present but if I add more they are listed also). If I click on the file in the list it displays the htm file.
any ideas?
Thanks
Martin