php memcache.dll_PHP-memcache-dll

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 d506f3de7aa9e9014bd4255cd6d4a16d.png

2020-09-24 - commit

2020-11-14 - build

php-7.1.x_memcache.dll with php-src 7.1.33

VC14

discontinued d506f3de7aa9e9014bd4255cd6d4a16d.png

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

README_1.png

Look at php_info()

README_2.png

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

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值