Does any one know about a Memcache version that supports PHP7 on Windows?
Memcache is working great for PHP 5.6 (on Windows), but I cannot find the version for PHP7.
Does any one know about a Memcache version that supports PHP7 on Windows?
Memcache is working great for PHP 5.6 (on Windows), but I cannot find the version for PHP7.
Please find php_memcache.dll for php7.0.x, php7.1.x, php7.2.x https://github.com/nono303/PHP7-memcache-dll
Here is the dll you can use with your PHP7 Windows installation (64 bit)
https://github.com/Alvine-IO/php7-windows/blob/master/x64/ts/dll/php_memcache.dll
Just in case if anyone needs dll files - https://github.com/jur4x/PHP7-memcahe-dll. Compiled for PHP 7.0.6, both thread safe and non thread safe versions.
The new memcached
extension doesn't work on Windows because libmemcached
doesn't work on Windows. However, someone seems to have gotten the old memcache
extension to install on Windows. I can't find a nice pre-compiled binary, but, after a lot of digging, I found a PHP Bug Report about this issue. Someone there seems to have found a solution:
[2016-01-20 23:11 UTC] php at alternize dot com
the branch "NON_BLOCKING_IO_php7" of the git repository https://github.com/websupport-sk/pecl-memcache.git builds fine against php 7.0.2 in win32 x86 thread-safe mode. i have not tested it with non-thread-safe and/or x64.
to build the php_memcache.dll, i followed the instructions on https://wiki.php.net/internals/windows/stepbystepbuild#building_pecl_extensions using:
C:\php-sdk\phpdev\vc14\x86\php-7.0.2-src>buildconf
C:\php-sdk\phpdev\vc14\x86\php-7.0.2-src>configure --disable-all
--enable-cli --enable-zlib --enable-hash --enable-session
--without-gd --with-bz2 --enable-memcache=shared
C:\php-sdk\phpdev\vc14\x86\php-7.0.2-src>nmake