ID: 17810
Comment by: tshazli@linuxmail.org
Reported By: fabien.dehopre@itn.skynet.be
Status: Open
Bug Type: IIS related
Operating System: Windows 2000 Server
PHP Version: 4.2.1
New Comment:
mfischer@php.net;
As you know, windows platform servers represent more than 50% of the
internet servers. Whether we like it or not, It is a reality. I like
PHP and have been working with it for more than 3 years now. I
convinced the company I work for and its clients to use PHP instead of
J2EE or ASP or Coldfusion and many others.
PHP cannot work on a live windows erver with CGI. It uses alot of
resources and on heavy load, The server maxs up and dies. ISAPI is the
"only" realistic way. If you want PHP to compete and have its presence,
Wehether you like it or not, It has to work "fine" on windows
platform.
That's all what I wanted to say.
For you guys who experience this problem, I found a work around to
"reduce" the effect of the problem. Pls go to bug #15333
thanks.
Previous Comments:
------------------------------------------------------------------------
[2002-06-18 04:58:03] mfischer@php.net
I advised you to use the CGI version because there hasn't been much
development on the ISAPI module and I'm not aware anyone is right now
or in the near future working on it.
Updated Summary,Category
------------------------------------------------------------------------
[2002-06-18 04:53:58] fabien.dehopre@itn.skynet.be
Now when we make a charge test with +/- 4 RPS we get sometime "parse
error" and other time we don't get this parse error.
We are in ISAPI because the CGI version use a lot of resources.
------------------------------------------------------------------------
[2002-06-18 04:18:42] fabien.dehopre@itn.skynet.be
I use ADODB for PHP (http://php.weblogs.com/ADODB).
We use a MS SQL database.
there is a script that can reproduce the error (it's not sure).
<?php
require_once("./db/adodb.inc.php");
$db = &ADONewConnection("mssql");
$db->Connect("xxx.xxx.xxx.xxx","user","password","db_name");
$query = "SELECT TOP 10 * FROM table_name";
$rs = $db->Execute($query);
while (!$rs->EOF)
{
$obj = $rs->fetchNextObject(false);
print_r($obj);
print '<hr>';
}
$rs->Close();
$db->Close();
?>
------------------------------------------------------------------------
[2002-06-18 04:13:28] mfischer@php.net
Please also try the CGI version, the ISAPI version is known to be very
unstable.
------------------------------------------------------------------------
[2002-06-18 04:07:35] derick@php.net
please provide a short script which allows us to reproduce this
problem.
Derick
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/17810--
Edit this bug report at http://bugs.php.net/?id=17810&edit=1