ID:               35954
 Updated by:       [EMAIL PROTECTED]
 Reported By:      lukasoz at bigpond dot net dot au
-Status:           Open
+Status:           Assigned
 Bug Type:         Reproducible crash
 Operating System: Windows XP SP2
 PHP Version:      5.1.1
-Assigned To:      
+Assigned To:      wez


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

[2006-01-10 02:58:18] lukasoz at bigpond dot net dot au

Description:
------------
With PHP 5.1.1 and Apache 2.0.55, running PHP as an Apache module, many
COM objects (applications AND DLLs) do not seem to instantiate
properly.

COM permissions are set correctly in DCOMConfig, and the offending code
works correctly in PHP 5.0.5 and earlier.

See the attached example using the freely available iTunes

Reproduce code:
---------------
$iTunes = new COM("iTunes.Application") or die("Unable to open
iTunes");


Expected result:
----------------
Fatal error: Uncaught exception 'com_exception' with message 'Error
[0x80020003] Member not found. ' in C:\Program Files\Apache
Group\Apache2\htdocs\test.php:3 Stack trace: #0 C:\Program Files\Apache
Group\Apache2\htdocs\test.php(3): unknown() #1 {main} thrown in
C:\Program Files\Apache Group\Apache2\htdocs\test.php on line 3




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


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

Reply via email to