"Fatal error: Class 'Memcache' not found" when installing memcached on Windows Server
Asked Answered
P

1

0

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.

Polished answered 31/3, 2012 at 14:47 Comment(1)
The extension might be inactive! check your php.ini configuration.Deflective
C
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

Cockcroft answered 17/8, 2012 at 16:53 Comment(1)
Wow, I've been having this problem for a while and these links for PHP 5.4 just did the trick. Thanks!Farland

© 2022 - 2024 — McMap. All rights reserved.