From:             lukasoz at bigpond dot net dot au
Operating system: Windows XP SP2
PHP version:      5.1.1
PHP Bug Type:     Reproducible crash
Bug description:  Fatal com_exception

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 bug report at http://bugs.php.net/?id=35954&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=35954&r=trysnapshot44
Try a CVS snapshot (PHP 5.1): 
http://bugs.php.net/fix.php?id=35954&r=trysnapshot51
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=35954&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=35954&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=35954&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=35954&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=35954&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=35954&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=35954&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=35954&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=35954&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=35954&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=35954&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=35954&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=35954&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=35954&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=35954&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=35954&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=35954&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=35954&r=mysqlcfg

Reply via email to