The tuto you refer to is about installing memcached server on windows. It will not help with the php extension if you really need to build it, you can use pecl. Likely you will have to install the server to retrieve libmemcached.dll. 51 rows Integrating with PHP. To interface with memcached in PHP, you need to.
Active5 years, 6 months ago
Windows Memcached
Sometimes it is hard to test some cool Linux stuff like Memcached on Windows and I am often too lazy to install some virtual machines. Php_memcache extension in. I have found plenty of tutorials covering how to install memcache in Windows and install the PHP extension. My situation though is slightly unusual: I'm using iis, not apache.
I have found plenty of tutorials covering how to install memcache in Windows and install the PHP extension. My situation though is slightly unusual:
I'm using iis, not apache.I don't need to install memcache on the server (it has its own dedicated server already setup). I ONLY need to install the extension.
I thought I simply needed to add the PHP_memcache.dll extension to the PHP extension folder and add it to PHP.ini
This causes an error loading the PHP module (unable to load dynamic library).
Is this error likely to be caused because memcache isn't installed on the server and what can I do to solve it?
John WhealJohn Wheal3,64455 gold badges2222 silver badges3636 bronze badges
![Php 7.2 memcached Php 7.2 memcached](/uploads/1/2/6/4/126464739/421494493.jpg)
2 Answers
Errors while loading extensions in Windows are not as helpful as they are in Linux, so you need a tool like dependency walker to fish out the problem.
Memcached Php Tutorial
Ja͢ckJa͢ck![Php memcached windows Php memcached windows](/uploads/1/2/6/4/126464739/718377695.png)
148k2929 gold badges221221 silver badges274274 bronze badges
If you are using XAMPP on Windows you probably have installed the 32bit-XAMPP version.So make sure you are using the 32bit (x86) DLL of Memcache.
The DLL download List for windows can be found here: http://pecl.php.net/package/memcache/3.0.8/windows
pbaldaufpbaldauf1,37011 gold badge1616 silver badges2727 bronze badges
Not the answer you're looking for? Browse other questions tagged phpiismemcached or ask your own question.
Active4 years, 11 months ago
I am having an incredibly hard time installing memcached. I went through a number of answers here on stackoverflow, as well as a couple of guides on other sites and I just cannot do it.
I've gotten to a point where I've installed memcached as a service and I have it running ( or at least so I think ). Following the baby-steps on this article. However when I try to instantiate
new Memcache
or new Memcached
I get class not found. So then I went to search for memcached options in php.ini
and had 0 matches on a search for memcached
. I manually added extension=php_memcached.dll
among the other extension declarations but then I have to have a dll
which I cannot find anywhere! Why don't they just put dll
s on the php site? I found some dll
for PHP version 5.4.0 but I received error 'Compiled with old API key' or something of this nature.Can someone please guide me through this hell?
php_nub_qqphp_nub_qq7,5481414 gold badges4545 silver badges9999 bronze badges
1 Answer
MemcacheD is a daemon and it seems like you have installed it as a service already. Now you need to setup Memcahce PHP extension, so it will work as client for MemcacheD daemon. You need to search for php_memcache.dll (no D letter on the end). You can find it here: http://windows.php.net/downloads/pecl/releases/memcache/3.0.8/
Clear Memcache
Nameless11Nameless11
Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.