Fatal error: Class 'COM' not found

software development


I am trying to use the COM class but I am getting Fatal error: Class ‘COM’ not found. On localhost I would solve this by editting the php.ini so that a text is added ([COM_DOT_NET] extension=php_com_dotnet.dll) but, I don’t know, how can I do so on dreamhost? Thanks


The COM class is specific to the Windows build of PHP. It’s not available on Linux servers, such as DreamHost’s.