I am borrowing the similar thread that wasn't helpfull for me: php_memcache.dll for PHP 5.3
I setup a server using the latest version of easyPHP for Windows. With it came PHP 5.4. I'm now looking for a memcache.dll file that worked for me before and I get this error
"PHP Startup: memcache: Unable t initialize module. Module compiled with module API=20090626 PHP compiled with module api=20100525 These options need to match"
Any links to a PHP 5.4 memcache.dll file would be greatly appreciated.
In the mentioned thread they adressed version for 5.3 and pierre, but there I find only an older version of the dll
Any pecl modules that have officially been compiled for windows you find under http://windows.php.net/downloads/pecl/releases/
You need to know what php version you are running ie: 5.3,5.4,5.5 and so on
You need to know if your php version is 32 or 64 ie x86, x64
All the information you can get from a file with the following content
and view it from the webserver or from the command line sending the output to a file with:
NOTE: from the command line you get the data for php-cli witch most likely was compiled with the same configuration
And note that there is Memcache and Memcached but from the php website only memcache is available
Thanks Kevin Horst, tested and working on my Win7 box !
The solution : just download the statically compiled version hosted on Amazon AWS, and extract.
Here is some output from
php -i
:I found this link and it worked for me:
php_memcache-3.0.8-5.4-ts-vc9-x86.zip
Or you can browse a list of the latest releases here and find an applicable version:
http://windows.php.net/downloads/pecl/releases/memcache/
I found out this:
http://windows.php.net/downloads/pecl/snaps/memcache/3.0.6/
Try the following if the above fails:
https://www.dropbox.com/sh/sjkuotlz2sl1kpc/v7-QZeFxHR
The link is dead try http://windows.php.net/downloads/pecl/releases/memcache/
You'll find the latest memcache dll release in there. What you need to know before downloading:
-The OS version (32 or 64 bit)
-The PHP Compiler version
-Thread Safe support
The PHP Compiler version and thread safe support can be easily checked using the phpinfo() function