Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.