jklanka Posted June 29, 2006 Share Posted June 29, 2006 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 saysFatal 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 2Can anybody help on this please Link to comment https://forums.phpfreaks.com/topic/13198-comwordapplication-problem/ Share on other sites More sharing options...
gerkintrigg Posted June 29, 2006 Share Posted June 29, 2006 Are you sure it's just called "Word"? Bear in mind I know nothing of this kind of use of PHP, but it looks like it can't find the program Link to comment https://forums.phpfreaks.com/topic/13198-comwordapplication-problem/#findComment-50820 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.