Sign In | Register Now About Bytes | Help | Site Map
Connecting Tech Pros Worldwide

IIS returning 404 Not Found for PHP on Server 2003

Question posted by: donthegeek (Newbie) on June 26th, 2008 05:44 AM
Hi Everyone,

I'm assuming this is an easy and common problem and I have spent the last day searching and trying just about everything I can find.

I am standing up a new IIS server on Web Server 2003. I'll be serving up some PHP sites along with my aspx sites. The aspx pages are working as are my static html sites. I have several dev servers running PHP which work fine, but I still follow the instructions from PHP.Net when installing a new server. This time it doesn't work no matter what I've tried. If I browse a PHP page, I get the 404 Not found error. If I browse an html page in the same site, no problems, works fine.

My PHP folder is C:\PHP, I've modified the path with the folder in the front of the path, set up the php.ini as in the instructions, set my doc_root to c:\inetpub\wwwroot, made sure the ISAPI filters were correct, turned on PHP in the IIS web extensions, double checked to make sure IUSR has read permissions to the C:\PHP folder, rebooted way too many times, pulled out my hair (and I don't have enough as it is).

What in the world could I have missed?

Hoping someone has the answer,

Don
pbmods's Avatar
pbmods
Site Moderator
5,187 Posts
June 27th, 2008
12:26 AM
#2

Re: IIS returning 404 Not Found for PHP on Server 2003
Heya, Don. Welcome to Bytes!

It sounds like you've got a configuration problem. I have... contacted a moderator to get this moved over to the IIS forum.

*sigh* I miss the old days....

Reply
kenobewan's Avatar
kenobewan
Moderator
4,538 Posts
June 28th, 2008
01:01 PM
#3

Re: IIS returning 404 Not Found for PHP on Server 2003
Here is a solution from the IIS website:
FastCGI for IIS 6.0 Officially Released and Supported

Reply
Reply
Not the answer you were looking for? Post your question . . .
189,321 Experts ready to help you find a solution.
Sign up for a free account, or Login (if you're already a member).

Latest Articles: Read & Comment
Top IIS Forum Contributors