gpt4 book ai didi

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

转载 作者:塔克拉玛干 更新时间:2023-11-03 05:55:35 26 4
gpt4 key购买 nike

我在我的专用 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/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com