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
PHP4.2.3 stops running on w2k/IIS server
Moderator: General Moderators
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 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).
when it freezes does IIS serve any other documents (such as plain html, ASP, etc.) ?
do you mean your w2k is a server version?I installed PHP 4.2.3 (the sapi version) and mysql on a w2k/iis server.
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
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.
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
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.
Thanks very much for pointing me in the right direction with the event viewer.