note 50977 added to ref.com
| From: | leandrobecker at msn dot com | Date: | Tue, 15 Mar 2005 18:25:12 +0000 |
| Subject: | note 50977 added to ref.com | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-86493@lists.php.net to get a copy of this message | ||
Any COM object that I had tryied to instantiate (including the sample posted by "chris at
hitcatcher dot com" using the Scripting.FileSystemObject object) crashes the PHP.
My environment is Windows Server 2003 Enterprise with IIS6 and PHP running in ISAPI mode (like
indicated by http://www.visualwin.com/PHP-ISAPI).
To get the server working again, I must restart the AppPool and Site.
Sample code that crashes PHP:
<?
$testObj = new COM("Scripting.FileSystemObject") or die("failed");
$testObj->Release();
?>
Any hint ?
----
Manual Page -- http://www.php.net/manual/en/ref.com.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+50977
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+50977&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+50977&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+50977&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+50977&report=yes&reason=useless
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+50977&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+50977&report=yes
Search -- http://master.php.net/manage/user-notes.php