Page 1 of 1

PHP no longer works with IIS 6

Posted: Wed Apr 25, 2007 11:44 am
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?

Posted: Wed Apr 25, 2007 11:48 am
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.

Posted: Wed Apr 25, 2007 12:13 pm
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.

Posted: Wed Apr 25, 2007 1:43 pm
by guitarlvr
Could there have been any Windows updates that were applied causing the issue?

Wayne