ID:               26245
 User updated by:  scarr at progbits dot com
 Reported By:      scarr at progbits dot com
-Status:           Feedback
+Status:           Open
 Bug Type:         COM related
 Operating System: Windows 2000
 PHP Version:      4.3.4
 New Comment:

I tried, but PHP5 does not seem to work with DB Library.  At least the
first couple test I tried didn't.  Kept giving me reference errors.


Previous Comments:
------------------------------------------------------------------------

[2003-11-13 19:39:27] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php5-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5-win32-latest.zip



------------------------------------------------------------------------

[2003-11-13 17:48:42] scarr at progbits dot com

We have also found that the script will hang if you just access the
database from another script.

------------------------------------------------------------------------

[2003-11-13 17:46:44] scarr at progbits dot com

Description:
------------
I have found that PHP will hang if a script is running the $var =
COM('anyfile.anyobject'); command while another script is being
accessed.

We have been able to consitently get PHP to lockup.

The COM script is accessing a COM VB Object.  While the other script is
saving to a SQL Database using PEAR DB Library functions.

I am using a standard PHP 4.3.4 pulled from php.net.  I haven't made
any compile changes.

Apache2
PHP 4.3.4
PEAR DB Library

Expected result:
----------------
COM Object gets instantiated and runs normally.

Actual result:
--------------
The COM Object gets hung and the script never returns.  The only way to
bring back the COM object is to restart Apache2.  In the shutdown, the
error log says it has to force shutdown a thread.  I am assuming this
is the COM Script thread.


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=26245&edit=1

Reply via email to