We use both in production. I'm biased, but we prefer Apache, even though I've had more issues with it.
(On win32) Prior to Apache 1.3.27, had a few issues with the apache service dying every few days and not restarting (win2k event viewer didn't even know it stopped) on a Compaq DL370 (ah there's the problem you say!). Also, compiling PHP with DEAPI (whilst using open ssl) was a slight issue, but I think the warnings were mostly harmless (it's just the constant crashes caused me to think it was the DEAPI factor) That's my nightmare apache story, I've run them on other prod servers (win2k) without a hitch. IIS is of course, patch city - not really as evil as anti-micro$oft lobby (include yours truly) would have you believe, but nonetheless a few annoyances like intermittent ISAPI PHP builds having crash issues. And ONLY use ISAPI - don't even think of the CGI version. PHP-CGI on IIS is only useful if you're not interested in scaling. Trust me, you NEED the persistent connections. Besides, the ISAPI version gives you a neat $_SERVER["APPL_PHYSICAL_PATH"], the equivalent of $_SERVER["DOCUMENT_ROOT"] in Apache... It escapes me (and micro$oft) how such an important variable gets missed out. APPL_PHYSICAL PATH is NOT available via CGI... how's that for ms weirdness. Anyway, needless to say IIS is slightly easier to set up, but doesn't support important features like http-gzip (can anyone say "spend more money"?). Ok, well, you can use PHP zlib compression... I'm picking at bones, but it all adds up. All in all, IIS is less painful to setup, configure and run, but I think it's Apache that lets me sleep at night. Apache also give you warm fuzzies and makes you more attractive to the opposite sex. "William Harrison" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, > > We are planning to use PHP on windows 2000 but which is the better web > server to use under this these circumstances IIS or Apache? > > Thanks > > Will > > > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php