Skip to content

4EPHblN/PHP7-memcache-dll

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pecl-memcache for PHP 7.X - Windows MSVC binaries

Personally use (and working fine...) x64 avx nts version.
See memcache.ini configuration file exemple


php-7.3.x_memcache.dll

2019-03-08

Version 4.0.1 NON_BLOCKING_IO_php7

CFLAGS add:

LDFLAGS add:


php-7.2.x_memcache.dll

2018-12-06

Version 3.0.9 NON_BLOCKING_IO_php7

CFLAGS add:

LDFLAGS add:

it is no longer worth using MemcacheSessionHandlerPrepend.php for php-7.2.x_memcache.dll!

Just put in your php.ini something like:

session.save_handler = memcache  
session.save_path = "tcp://127.0.0.1:11211?persistent=1&weight=1&timeout=1&retry_interval=15"

php-7.1.x_memcache.dll

2017-08-25

Version 3.0.9 NON_BLOCKING_IO_php7


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"
  1. 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..)
  2. 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.

About

PHP7-memcache-dll

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%