Memcache PHP Extension on Windows

iis, memcached, php

Solution

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.

http://www.dependencywalker.com/

Problem

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?

Original source