Page 1 of 1

PHP4.2.3 stops running on w2k/IIS server

Posted: Sun Oct 13, 2002 3:13 pm
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

Posted: Sun Oct 13, 2002 9:43 pm
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).

everything else seems to work ok

Posted: Sun Oct 13, 2002 10:06 pm
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.

found the problem

Posted: Fri Oct 18, 2002 1:39 pm
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.