I have MS Office 2003 Installed in My PC. Also Apache 2.x installed locally. I just trying to run a PHP script <? $word = new COM("Word.Application") or die("Unable to instantiate Word"); ?> But I get the error says Fatal error: Uncaught exception 'com_exception' with message 'Failed to create COM object `Word.Application': Server execution failed ' in C:\Program Files\Apache Group\Apache2\htdocs\powerplate\test4.php:2 Stack trace: #0 C:\Program Files\Apache Group\Apache2\htdocs\powerplate\test.php(2): com->com('Word.Applicatio...') #1 {main} thrown in C:\Program Files\Apache Group\Apache2\htdocs\powerplate\test4.php on line 2 Can anybody help on this please