gpt4 book ai didi

php - fatal error : Class 'Memcache' not found in

转载 作者:可可西里 更新时间:2023-11-01 12:56:02 25 4
gpt4 key购买 nike

对于这一行

$MEM = new Memcache;

我收到此错误“ fatal error :在...中找不到类‘Memcache’”。我把它放在我的 php.ini 中,但仍然没有成功。

extension=memcache.so

这是否意味着我的虚拟主机没有 memcached?我是否必须下载 memcached 并将任何内容上传到服务器才能运行?

最佳答案

这是来自 JustHost 的回复

John H.: [6:28:55 PM] Welcome to our real-time support chat. My name is John H. Please be patient, as I may be assisting multiple customers. Also, please provide your main domain name, and a brief description of the problem or request. Thank you.
ME: [6:28:55 PM] is memcache enable for share host?
[6:30:01 PM] hi
John H.: [6:30:31 PM] Let me see what I can find out for you. Just one moment please.
ME: [6:30:37 PM] thanks
John H.: [6:41:04 PM] I have asked an L2, and am waiting for a response. sorry for the delay.
ME: [6:41:39 PM] no problem
John H.: [6:41:49 PM] no, it's not enabled.
[6:41:52 PM] we don't support it
ME: [6:42:11 PM] ok thank you

我建议您下次使用聊天功能,或者订购新的共享主机并询问代表他们是否启用了 memcached。

关于php - fatal error : Class 'Memcache' not found in,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7218097/

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