doulao7572 2018-10-26 15:39 采纳率: 0%
浏览 213

我继续在hMailServer和XAMPP的PHPWebAdmin页面中获取“致命错误:未找到类COM”

I'm trying to work with hMailServer and XAMPP but I keep obtaining the "Fatal Error [...]" even if I had:

1) Modified the config.php with the right strings:

$hmail_config['rooturl'] = "http://localhost:8080/PHPWebAdmin/"

and

$hmail_config['rootpath'] = "C:\xampp\htdocs\PHPWebAdmin;

2) Istalled the extension=php_com_dotnet.dll and the DCOM class;

3) Enabled the DCOM;

4) Already modified the security of HMAILSERVER in dcomcnfg.exe.

5) Apache and MySql are running in XAMPP.

I can't think to no one else solution, somebody can help me?

EDIT:

The full error is " Fatal error: Uncaught Error: Class 'COM' not found in C:\xampp\htdocs\PHPWebAdmin\initialize.php:16 Stack trace: #0 C:\xampp\htdocs\PHPWebAdmin\index.php(23): require_once() #1 {main} thrown in C:\xampp\htdocs\PHPWebAdmin\initialize.php on line 16 ".

  • 写回答

2条回答 默认 最新

  • dqq46733 2018-10-29 08:26
    关注

    That's described at PHPWebAdmin setup problems:

    DCOM not being enabled

    PHPWebAdmin uses the hMailServer COM API to access the settings and your objects in your hMailServer installation. For this to work, it may be required to enable DCOM in the PHP configuration. Make sure that com.allow_dcom = true exists and is uncommented in php.ini.

    I presume that also means you need the COM extension too.

    评论

报告相同问题?

悬赏问题

  • ¥15 划分vlan后不通了
  • ¥15 GDI处理通道视频时总是带有白色锯齿
  • ¥20 用雷电模拟器安装百达屋apk一直闪退
  • ¥15 算能科技20240506咨询(拒绝大模型回答)
  • ¥15 自适应 AR 模型 参数估计Matlab程序
  • ¥100 角动量包络面如何用MATLAB绘制
  • ¥15 merge函数占用内存过大
  • ¥15 Revit2020下载问题
  • ¥15 使用EMD去噪处理RML2016数据集时候的原理
  • ¥15 神经网络预测均方误差很小 但是图像上看着差别太大