Doc #62623 [Com]: Class 'COM' not found

From: Date: Tue, 23 Oct 2012 08:24:52 +0000
Subject: Doc #62623 [Com]: Class 'COM' not found
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-8997@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=62623&edit=1 ID: 62623 Comment by: David dot Gausmann at measX dot com Reported by: bugzilla33 at gmail dot com Summary: Class 'COM' not found Status: Open Type: Documentation Problem Package: COM related Operating System: win7 PHP Version: 5.4.5 Block user comment: N Private report: N New Comment: Today I stumbled over this bug, too. The first thing I did was it to look into the Installation/Requirements section of the COM help and found nothing. Then I got very angry and used Google; then I found this bug report. The next thing I thought was "Yes, it's still PHP." Since my update from 5.3 to 5.4 I've got many trouble, such as the different default parameter for htmlspecialchars, which destroys my ISO encoded data from the database (and you preferred solution to add the parameters to each call is insane). So, please fix (at least) this bug, as the described in the post previously to this one. Kind Regards David Gausmann Previous Comments: ------------------------------------------------------------------------ [2012-07-21 08:04:39] bugzilla33 at gmail dot com Please modify php.ini's in package, add: ;extension=php_com_dotnet.dll and update http://www.php.net/manual/en/com.installation.php ------------------------------------------------------------------------ [2012-07-21 07:35:32] bugzilla33 at gmail dot com There is no: ;extension=php_com_dotnet.dll in original php.ini, why? ------------------------------------------------------------------------ [2012-07-21 00:22:16] hankmanw7 at home dot nl As of PHP 5.4.5 and above the COM extension isn't compiled into PHP anymore. It'll still be delivered with the standard PHP release but must be enclosed with the "extension = php_com_dotnet.dll" directive in php.ini. ------------------------------------------------------------------------ [2012-07-20 20:30:20] bugzilla33 at gmail dot com This problem is on Apache 2.2.21. PHP via module. ------------------------------------------------------------------------ [2012-07-20 20:01:01] bugzilla33 at gmail dot com Description: ------------ Class 'COM' not found. Bug introduced in PHP 5.4.5 VC9. Test script: --------------- <?php $o=new COM('WScript.Shell'); ?> Expected result: ---------------- PHP 5.4.4 include COM Class. Actual result: -------------- Fatal error: Class 'COM' not found in C:\htdocs\test.pl\1.php on line 2 ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=62623&edit=1

« previous php.doc.bugs (#8997) next »