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

From: Date: Sat, 21 Jul 2012 07:35:32 +0000
Subject: Bug #62623 [Com]: Class 'COM' not found
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-172133@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: bugzilla33 at gmail dot com Reported by: bugzilla33 at gmail dot com Summary: Class 'COM' not found Status: Open Type: Bug Package: COM related Operating System: win7 PHP Version: 5.4.5 Block user comment: N Private report: N New Comment: There is no: ;extension=php_com_dotnet.dll in original php.ini, why? Previous Comments: ------------------------------------------------------------------------ [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.bugs (#172133) next »