From: Jared dot Williams1 at ntlworld dot com Operating system: Windows 2000 PHP version: 5.1.0RC6 PHP Bug Type: COM related Bug description: Application exception on trying to create any COM object
Description: ------------ An application exception occurs when trying to create any COM object. COM php.ini settings.. (all defaults) Directive => Local Value => Master Value com.allow_dcom => 0 => 0 com.autoregister_casesensitive => 1 => 1 com.autoregister_typelib => 0 => 0 com.autoregister_verbose => 0 => 0 com.code_page => no value => no value com.typelib_file => no value => no value Reproduce code: --------------- php -r "$fso = new COM('Scripting.FileSystemObject'); $fso = NULL;" php -r "$word = new COM('Word.Application'); $word = NULL;" php -r "$connection = new COM('ADODB.Connection'); $connection = NULL;" Expected result: ---------------- Nothing. Actual result: -------------- --------------------------- php.exe - Application Error --------------------------- The instruction at "0x100aa8dd" referenced memory at "0x000000f9". The memory could not be "read". Click on OK to terminate the program Click on CANCEL to debug the program --------------------------- OK Cancel --------------------------- -- Edit bug report at http://bugs.php.net/?id=35316&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=35316&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=35316&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=35316&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=35316&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=35316&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=35316&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=35316&r=needscript Try newer version: http://bugs.php.net/fix.php?id=35316&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=35316&r=support Expected behavior: http://bugs.php.net/fix.php?id=35316&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=35316&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=35316&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=35316&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=35316&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=35316&r=dst IIS Stability: http://bugs.php.net/fix.php?id=35316&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=35316&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=35316&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=35316&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=35316&r=mysqlcfg