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.
Fatal Error Class COM not found with extension php_com_dotnet installed
PHPRC Environment Variable was missing
PHPRC = C:\php
After looking around a little bit more, I found the problem was caused by the manual copy of the PHP folder, because I've skipped the installation with the .msi
file. The installation file not only add PHP folder to PATH
variable but it also creates a new variable called PHPRC
which determines where the Runtime Configuration is located (C:\php
by default).
Fatal error: Class 'COM' not found PHP. Win7 - Apache - PHP
Add COM support in php.ini:
[COM_DOT_NET]
extension=php_com_dotnet.dll
PHP Class 'COM' not found
From the user comments on the PHP website:
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.
Related Topics
Can't Install PHP Package on Centos
Ajax File Download Using Jquery, PHP
How to Catch This Error: "Notice: Undefined Offset: 0"
My Magento Extension Install Script Will Not Run
Accept Function as Parameter in PHP
Not Equal to != and !== in PHP
Check Whether or Not a Cidr Subnet Contains an Ip Address
Can't Install Laravel Installer via Composer
Crop Whitespace from Image in PHP
Get Variable from PHP to JavaScript
How to Dynamically Write a PHP Object Property Name
How to Enable Memcache in Wamp
Dynamic Class Method Invocation in PHP
Getting ’ Instead of an Apostrophe(') in PHP
How to Generate Random 64-Bit Value as Decimal String in PHP