user974435
user974435

Reputation: 397

Fatal error: Class 'COM' not found PHP in Win Server 2008 R2

I have installed all the required libraries like

[COM_DOT_NET]
     extension=php_com_dotnet.dll

and restarted IIS and still cannot make it to work? Any clues as I am keep getting that error:

Fatal error: Class 'COM' not found in

Many thanks

Upvotes: 0

Views: 929

Answers (2)

atabak
atabak

Reputation: 193

add<br>
extension=php_com_dotnet.dll<br>
on php.ini

Upvotes: 0

Andrew Johnson
Andrew Johnson

Reputation: 446

Make sure that it is enabled in IIS

IIS Manager -> PHP Manager -> PHP Extensions -> Enable or Disable Extensions

Also make sure that the dll file is in the ext folder of your php installation

Upvotes: 1

Related Questions