“Fatal error: Class 'Memcache' not found” when installing memcached on Windows Server

守給你的承諾、 提交于 2019-12-13 05:48:54

问题


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

Fatal error: Class 'Memcache' not found

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


回答1:


This question has been solved here: Class 'Memcache' not found & 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)

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

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

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



来源:https://stackoverflow.com/questions/9956901/fatal-error-class-memcache-not-found-when-installing-memcached-on-windows-s

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!