Giter Site home page Giter Site logo

php-memcache-dll's Introduction

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

Version 8.0 "36d7181" branch NON_BLOCKING_IO_php8

2020-12-06 - commit

2020-12-06 - build

Version 4.0.5.2 "4fdcbf9" branch NON_BLOCKING_IO_php7

discontinued

2020-09-24 - commit

2020-11-14 - build

VC14

discontinued

Version 3.0.9-dev

2016-12-08


Check your version

  • Look for 'Product name' in detailed information of the dll file in Windows explorer image-20201114113957010

  • Look at php_info() image-20201114113957010

  • Look at bininfo.csv

Build Scripts

Dependencies

CFLAGS add:

  • /GL
  • 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"
  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

php-memcache-dll's People

Contributors

nono303 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.