2017-04-27 : MSVC14 discontinued. Update only MSVC15
- https://github.com/php/php-src/tree/PHP-7.1.4 php-7.1.4
- https://github.com/websupport-sk/pecl-memcache/tree/NON_BLOCKING_IO_php7 3.0.9
- Fix PHP7 segfault. https://bugs.php.net/bug.php?id=74008
-
+ /LTCG /OPT:ICF
-
+ /GS- /GL /Oy-
- https://github.com/php/php-src/tree/PHP-7.1.0
- https://github.com/websupport-sk/pecl-memcache/tree/NON_BLOCKING_IO_php7 3.0.9
- https://github.com/php/php-src/tree/PHP-7.0.6
- https://github.com/websupport-sk/pecl-memcache/tree/NON_BLOCKING_IO_php7 3.0.9
See discution on stackoverflow
Only tested (and working fine) on x64 nts.
require Redistribuable Microsoft Visual C++ pour Visual Studio 2017
See my memcache.ini
configuration
2016-05-18 : I’ve noticed 2 bugs when implementing memcache session.handler
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 =