对于这一行
$MEM = new Memcache;
我收到此错误“致命错误:类'Memcache'未找到...”。我把它放在我的php.ini中但仍然没有成功。
extension=memcache.so
这是否意味着我的虚拟主机没有memcached?我是否必须下载memcached并将任何内容上传到服务器才能使用?
答案 0 :(得分:5)
以下是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。