Fatal error: Uncaught exception 'com_exception' with message 'Failed to create COM object `InternetExplorer.Application': 服务器运行失败 ' in E:\wamp\www\phpstudy\test.php:2 Stack trace: #0 E:\wamp\www\phpstudy\test.php(2): com->com('InternetExplore...') #1 {main} thrown in E:\wamp\www\phpstudy\test.php on line 2报错,系统是win2003,apache与桌面的交互也打上勾了,apache用的是wamp.
$browser = new COM("word.Application");是可行的
$browser = new COM("InternetExplorer.Application");换做ie就会报错(服务器运行失败)!