Edit report at https://bugs.php.net/bug.php?id=62623&edit=1

 ID:                 62623
 User updated 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:

Please modify php.ini's in package, add:
;extension=php_com_dotnet.dll

and

update
http://www.php.net/manual/en/com.installation.php


Previous Comments:
------------------------------------------------------------------------
[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

Reply via email to