php - com_create_guid() 未定义 : returns fatal error

标签 php zend-framework

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

5.2.6 (cli) (built: May 7 2008 01:11:22) Copyright (c) 1997-2008 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies

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

Fatal error: Call to undefined function com_create_guid() in /var/www/html/mysite/application/modules/consultant/models/Consultant.php on line 34

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

最佳答案

COM 函数是 only available on Windows .

COM functions are only available for the Windows version of PHP.

.Net support requires PHP 5 and the .Net runtime.

关于php - com_create_guid() 未定义 : returns fatal error,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/733697/

相关文章:

php - 我可以将数组绑定(bind)到 PDO 查询中的 IN() 条件吗?

php - JSON 验证器 : Response test vaild but URL test is not

php - 使用 Zend_Db_Expr

javascript - CKEditor 破坏了我的其他 js 应用程序,如何加载我自己的 js 文件

php - 在哪里使用 Zend_Auth,在模型或 Controller 中?

php - Zend Framework - 数据库表单例

javascript - 获取今天的科普特日期

javascript - 如何用JavaScript实现三个选择框和处理选择?

php - 让用户根据 CodeIgniter 中的角色/权限访问 Controller

php - Zend 在 View 助手中重定向