user3842643
user3842643

Reputation: 67

I can't run any PHP file on localhost (HTTP 404.3 error using IIS)

I am attempting to set up a localhost testing server through IIS, but for the life of me I have been unable to get it working. I have my project folder in the localhost directory:

C:\inetpub\wwwroot

The IIS splash screen works when I just try to go to "localhost", but when I run any PHP file I just get the error:

 "HTTP Error 404.3 - Not Found The page you are requesting cannot be served because of the extension     configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map.".

I was first trying with my project, but then I tried a simple echo script which still gives me the same error, so something must be wrong with how my PHP is configured. The most recent solution I have tried is this one IIS 8 Wont run PHP?, but this did not work.

Is there a surefire way to fix this? I have been looking at it for HOURS.

I am running Windows 8.1 64-bit. Has anyone else ran into this problem and managed to fix it?

Let me know if you need any more information, I really need to get this testing server up :/

Upvotes: 3

Views: 13449

Answers (1)

THT14
THT14

Reputation: 104

did you setup iis correctly? because you have to care with somethings, so, give a look in the follow link HOW TO INSTALL AND CONFIGURE IIS 8 ON WINDOWS 8

Upvotes: 5

Related Questions