- 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.
See memcache.ini configuration file exemple
- VS16 : toolset 14.29.30037
- VC15 : toolset 14.16.27023
- Window Kit 10.0.19041.0
- AVX releases for specified directory
Version 8.1-dev "c615b13" branch NON_BLOCKING_IO_php8
2021-05-28 - commit
2021-05-28 - build
-
patched with:
- #80 Compatibility fix for PHP 8
-
php-8.0.x_memcache.dll
with php-src 8.0.6
Version 8.0 "36d7181" branch NON_BLOCKING_IO_php8
2020-12-06 - commit
2020-12-06 - build
php-7.4.x_memcache.dll
with php-src 7.4.13php-7.3.x_memcache.dll
with php-src 7.3.25php-7.2.x_memcache.dll
with php-src 7.2.34
Version 4.0.5.2 "4fdcbf9" branch NON_BLOCKING_IO_php7
2020-09-24 - commit
2020-11-14 - build
php-7.1.x_memcache.dll
with php-src 7.1.33
Version 3.0.9-dev
2016-12-08
php-7.1.x_memcache.dll
with php-src 7.1.0php-7.0.x_memcache.dll
with php-src 7.0.6
-
Look for 'Product name' in detailed information of the dll file in Windows explorer
-
Look at bininfo.csv
- /GL
- MD
- /Zi
- /O2
- /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 =