“致命错误:找不到类'Memcache'"在Windows Server上安装memcached时 [英] "Fatal error: Class 'Memcache' not found" when installing memcached on Windows Server

查看:116
本文介绍了“致命错误:找不到类'Memcache'"在Windows Server上安装memcached时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用XAMPP 1.7.0.我已经按照这些说明进行操作安装memcached,它在Windows 7上可以正常工作,但是当我在Windows Server中安装它时,它会显示

I am using XAMPP 1.7.0. I have followed these instructions to install memcached and it works fine for Windows 7 but when I have it installed in Windows Server it shows

致命错误:找不到类"Memcache"

Fatal error: Class 'Memcache' not found

我已经尝试了很多次,但是都失败了.

I have tried many times to do this but am failing.

推荐答案

此问题已在此处解决:

This question has been solved here: Class 'Memcache' not found & PHP

您的问题可能是您使用的dll文件不适用于您的PHP版本;

Your problem is probably that the dll file you used is not working with your PHP version;

这是您的解决方案(我引用自己的回答)

This is your solution (I quote from my own answer)

我找到了适用于PHP 5.4.4的有效dll文件

I found the working dll files for PHP 5.4.4

我不知道它们的稳定性如何,但是它们确实可以工作.学分 到此链接.

I don't knowhow stable they are but they work for sure. Credits goes to this link.

http://x32.elijst.nl/php_memcache-5.4 -nts-vc9-x86.zip

http://x32.elijst.nl/php_memcache-5.4-vc9 -x86.zip

这是2.2.5.0版本,编译后我注意到(对于PHP 5.4.4).

It is the 2.2.5.0 version, I noticed after compiling it (for PHP 5.4.4).

请注意,它不是2.2.6,但可以.我也将它们镜像到我的 自己的FTP.镜像链接:

Please note that it is not 2.2.6 but works. I also mirrored them in my own FTP. Mirror links:

http://mustafabugra.com/resim/php_memcache-5.4-vc9 -x86.zip http://mustafabugra.com/resim/php_memcache-5.4-nts- vc9-x86.zip

这篇关于“致命错误:找不到类'Memcache'"在Windows Server上安装memcached时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆