PHP4.2.3 stops running on w2k/IIS server

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
klaus
Forum Newbie
Posts: 3
Joined: Sun Oct 13, 2002 3:13 pm

PHP4.2.3 stops running on w2k/IIS server

Post by klaus »

I installed PHP 4.2.3 (the sapi version) and mysql on a w2k/iis server.
Files with the .php extension are pointing to php4isapi.dll which I copied into the main php directory right next to php.exe.
PHP was running fine. A testpage with the "phpinfo" command was returned fine.
After 15-30 minutes PHP stopped runnig. I rebooted the server and it was running again - but only for for a short period.
Does anyone have any ideas on why PHP keeps hanging up?
Should I try the cgi version instead?
Should files witht he .php extension point to another file i.e. php.exe directly?
Thanks very much for your input.

Klaus
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

did you take a look into the eventlog of w2k?
when it freezes does IIS serve any other documents (such as plain html, ASP, etc.) ?
I installed PHP 4.2.3 (the sapi version) and mysql on a w2k/iis server.
do you mean your w2k is a server version?
I remember a hardcoded connection limit for NT4 workstations that should prevent too many concurrent connections (license issues) but somehow it was related to a time-period (20 connections within 10 minutes? something like that).
klaus
Forum Newbie
Posts: 3
Joined: Sun Oct 13, 2002 3:13 pm

everything else seems to work ok

Post by klaus »

yes this is the server version of w2k.
All the websites on the server can be retrieved ok, html or cgi/perl works fine.
i haven't checked the event log yet but will have access to the server on monday again and will do so immediately.
klaus
Forum Newbie
Posts: 3
Joined: Sun Oct 13, 2002 3:13 pm

found the problem

Post by klaus »

I was too ambitous and tried to run the Sapi version. I had to learn it the hard way but it was not stable under IIS and W2K. I switched back to the CGI module (php.exe) and everything seems too run fine now.
Thanks very much for pointing me in the right direction with the event viewer.
Post Reply