I am running Windows Server 2008 32-bit, PHP 5.4.5, and Apache 2.2.22. I'm pretty sure COM is built-in to PHP core, but when I run the code to call a new COM object, I get a "Class 'COM' not found' error. The COM object I am calling is Microsoft Word, which is installed.
The code:
$word = new COM("word.application") or die("Could not initiate Word COM Object.");
PHP just spits out the error as described above.