PHP no longer works with IIS 6

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
jeddins
Forum Newbie
Posts: 2
Joined: Wed Apr 25, 2007 10:38 am

PHP no longer works with IIS 6

Post by jeddins »

We've had a Win2003 server running PHP 5.1.4 with IIS 6 and MySQL for over a year.

A few days ago all sites relying on PHP just stopped coming up and indicate 404 file not found. We can't even get our check file with phpinfo() to work.

We were using PHP-cgi but switched to PHPisapi.dll after some research.

After making the switch all sites began working again for about 3 days and now they've stopped with the same 404 error.

No changes were made to any sites prior to PHP just not working and all files, extensions and script mappings are as they should be.

Any ideas?
User avatar
Burrito
Spockulator
Posts: 4715
Joined: Wed Feb 04, 2004 8:15 pm
Location: Eden, Utah

Post by Burrito »

have you tried hitting a plain HTML file in the same location as the PHP? If yes and it comes up, I'd remove the extension mappings in IIS and recreate them. Also make sure you have the appropriate .dll files in the environment path.
jeddins
Forum Newbie
Posts: 2
Joined: Wed Apr 25, 2007 10:38 am

Post by jeddins »

HTML pages work fine.

Not sure about appropriate dll's in the environment path. I just know it worked fine for over a year until things stopped working.

I'll remove and re-do all the extension mappings to see if that has an effect.

Thanks.
User avatar
guitarlvr
Forum Contributor
Posts: 245
Joined: Wed Mar 21, 2007 10:35 pm

Post by guitarlvr »

Could there have been any Windows updates that were applied causing the issue?

Wayne
Post Reply