PHP - pecl-memcache Windows binaries
Personally use (and working fine...) x64 avx nts version.
See memcache.ini configuration file exemple
VC15 & VS16
VS16 : toolset 14.28.29333
VC15 : toolset 14.16.27023
MSVC redist x86 - x64
Window Kit 10.0.19041.0
AVX releases for specified directory
Version 8.0 "36d7181" branch NON_BLOCKING_IO_php8
2020-12-06 - commit
2020-12-06 - build
#80 Compatibility fix for PHP 8
php-8.0.x_memcache.dll with php-src 8.0.0
php-7.4.x_memcache.dll with php-src 7.4.13
php-7.3.x_memcache.dll with php-src 7.3.25
php-7.2.x_memcache.dll with php-src 7.2.34
Version 4.0.5.2 "4fdcbf9" branch NON_BLOCKING_IO_php7
discontinued
2020-09-24 - commit
2020-11-14 - build
php-7.1.x_memcache.dll with php-src 7.1.33
VC14
discontinued
2016-12-08
php-7.1.x_memcache.dll with php-src 7.1.0
php-7.0.x_memcache.dll with php-src 7.0.6
Check your version
Look for 'Product name' in detailed information of the dll file in Windows explorer
Look at php_info()
Build Scripts
Dependencies
CFLAGS add:
MD
/Zi
/O2
LDFLAGS add:
2016-05-18
I’ve noticed 2 bugs when implementing memcache session.handler for
session.save_handler = memcache
session.save_path = "tcp://127.0.0.1:11211"
With memcache.protocol = ascii, there is some random lock on session_start() according to memcache.lock_timeout
so i've set memcache.lock_timeout = 1 but that doesn’t resolve the problem (just makes it less visible..)
With memcache.protocol = binary, first bug seems not appearing but session destroy failed !
All that test have been done with phpmyadmin which write complex data in session
So you can find MemcacheSessionHandlerPrepend.php a MemcacheSessionHandler implementing SessionHandlerInterface to add to your php.ini with config:
session.save_handler = user
auto_prepend_file = c:/path/to/MemcacheSessionHandlerPrepend.php
; session.save_path =
See issue #23 and discution on stackoverflow