Click to See Complete Forum and Search --> : Weird Authentication Problem After PHP5 Install


kaelum
11-22-2005, 12:02 PM
I recently installed PHP5.0.5 in IIS6 on Server 2003 Enterprise. I manually installed the package and am using the isapi approach in IIS. Everything worked fine after I finished, including my phpmyadmin site, so all of the .dlls are being located and functioning. (FYI I did set my path in environment variables to include my PHP directory).

However, after about 6 hours I start to get a windows authentication prompt when trying to pull up any site using PHP on the server. If I reboot, everything pulls up fine right away and lasts another 6 hours or so. I have double checked my permissions on the PHP directory and in IIS, and they are correct. Even if I try to log in (even though I shouldn't have to) with a valid user/administrator, access is still denied. SO... I reboot and it's fine again.

Any ideas what may be causing this? A defective .dll or memory leak? One more note, this server has joined a domain for FTP access, but I don't see how this could affect anything.

Please Help!

kaelum
11-28-2005, 05:45 PM
Update: I just noticed that PHP 5.1.1 is out today and tried it... same problem though. All of my php sites worked perfectly (fast too) for about 6 hours, and then all of a sudden each attempt to pull up a php site resulted in a windows authentication prompt. If I login as the domain admin, it will bring up the site now, but I shouldn't have to login at all... and after restarting IIS everything goes back to normal with no auth issues.

In the event viewer on the 2003 server, the only logged event around the time that the php sites went down was a "Security policy in the Group policy objects has been applied successfully" event, no errors.

This server is a fresh, default 2003 ent install, and I have not customized any security settings yet (I'm waiting to get this php stable first). I'm starting to think this may be an issue with the php isapi .dll (i am not using cgi). Is anyone else having a similar issue???