- src: https://github.com/websupport-sk/pecl-memcache
- doc: https://www.php.net/manual/en/book.memcache.php
Personally use (and working fine...) x64 avx nts version.
Seememcache.ini
configuration file exemple
Version 4.0.5.2 "baec8a2"
2019-12-24
php-7.4.x_memcache.dll
with php-src 7.4.1php-7.3.x_memcache.dll
with php-src 7.3.13php-7.2.x_memcache.dll
with php-src 7.2.26
- Visual Studio 2019 v16.4.2
- VS16 : toolset 14.24.28314
- VC15 : toolset 14.16.27023
- Window Kit 10.1.18362.1
Version 4.0.4 "459ad85" discontinued
Fix crash when serialization fails #53 2019-06-17
2019-08-07
php-7.1.x_memcache.dll
with php-src 7.1.31
- Visual Studio 2019 v16.2
- VS16 14.22.27905
- VC15 14.16.27023
- Window Kit 10.0.18362.0
- /LTCG
- /NODEFAULTLIB:libcmt.lib /NODEFAULTLIB:MSVCRTD.lib
- /OPT:ICF
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 onsession_start()
according tomemcache.lock_timeout
so i've setmemcache.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
MSVC14 discontinued.