致命错误:未找到类'COM'Win7 X64

时间:2013-12-05 03:46:44

标签: php windows apache

运行时环境:
1:win7 x64;
2:Apache 2.4.7
3:mod_fcgid
4:php 5.5.6 VC11 x86 Non Thread Safe

的PHP.ini

[COM_DOT_NET] 
extension=php_com_dotnet.dll 
com.allow_dcom = true

代码:

$word = new COM("word.application");

错误:
致命错误:在......中找不到“COM”类

PS:我已经安装了.net框架和Visual C ++ Redistributable Package

0 个答案:

没有答案