Jump to content

File not found (404) on php test


Recommended Posts

I'm on a Win XP SP2. I've installed Apache 2.2.9, PHP 5.2.6 (they both are shown in the status area of the Apache Service Monitor window) and MySQL  5.0; but I can't still test a simple php file.

 

I stopped and restarted Apache after installing PHP.

 

I entered the 'http://localhost/' in ie7 and got the 'It works' message.

 

First attempt was trying to test directly from Dreamweaver and I got a 404 error (file not found).

 

I copied the file to the root directory ('c:\inetpub\wwwroot\myfile.php') and enter the path 'http://localhost/myfile.php' in the address bar again in ie7 and got the same error.

 

Read an article about configuring Apache to work with PHP and found some lines that should be added to the 'httpd.conf'. Checked the .conf file and the lines were already there.

 

Now I have no idea what else to do so any help is very welcome

Link to comment
https://forums.phpfreaks.com/topic/116644-file-not-found-404-on-php-test/
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.