Class ‘COM’ not found

From PHP 5.4.5, COM and DOTNET is no longer built into the php core.you have to add COM support in php.ini:

[COM_DOT_NET]
extension=php_com_dotnet.dll

Otherwise you will see this in your error log:
Fatal error: Class ‘COM’ not found

The extension is included with php 5.4.5 for Windows.

Leave a Comment