【问题标题】:com_create_guid() is not defined : returns fatal errorcom_create_guid() 未定义:返回致命错误
【发布时间】:2010-10-18 12:51:03
【问题描述】:

我在我的专用 linux 服务器上使用 PHP 5

5.2.6 (cli)(构建时间:2008 年 5 月 7 日 01:11:22)版权所有 (c) 1997-2008 PHP Group Zend Engine v2.2.0, 版权所有 (c) 1998-2008 Zend 技术

但是 com_create_guid 函数对我不起作用,它会返回此错误消息

致命错误:调用未定义 函数 com_create_guid() 在 /var/www/html/mysite/application/modules/consultant/models/Consultant.php 第 34 行

我检查了http://in.php.net/com_create_guid。它说你只需要 PHP5(我有) 但是这个功能不起作用:(

【问题讨论】:

    标签: php zend-framework


    【解决方案1】:

    COM 函数是only available on Windows

    COM 函数仅适用于 PHP 的 Windows 版本。

    .Net 支持需要 PHP 5 和 .Net 运行时。

    【讨论】:

      猜你喜欢
      • 2013-05-25
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-12-21
      • 1970-01-01
      • 2017-01-18
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多