pecl install memcached

PHP extension for interfacing with memcached via libmemcached library

This extension uses libmemcached library to provide API for communicating with memcached servers.

Version 2.2.0b1 change log

- Reinstate support for libememcached 0.x series
- Added SASL support to session handler
- Added Memcached::flushBuffers as per GH #78
- Fixes GH #54: Fixed UDP server adding with newer libmemcached
- Fixed PHP bug #65334: (Segfault if uncompress value failed)
- Fixes GH #14: get with cas token fails to fetch all results
- Fixes GH #68: memcached 2.1.0 requires libmemcached 1.0.10
- Fixes GH #69: compiling on CentOS 6.4 with libmemcached 1.0.17
- Merged PR #91: More granular session locking support
- Added session handler settings:
* memcached.sess_number_of_replicas
* memcached.sess_randomize_replica_read
* memcached.sess_remove_failed
* memcached.sess_connect_timeout
- Added support for memcached protocol handlers
- Added Memcached::setBucket for virtual bucket support
- Added support for msgpack serialization
- Memcached::setSaslAuthData returns correct status on success
- Added support for user-defined flags in set and get operations


  • Andrei Zmievski (lead )
  • Mikko Koppanen (lead )
  • Aaron Stone (lead )
  • Remi Collet (lead )
  • Aaron Stone (lead )



Stars: 983
Issue openned: 50
Downloads: 16843002
10 years ago


  • php >=5.2.0<=6.0.0
  • pearinstaller >=1.4.0b1
Request a build
Request to the website owner's team the built this extension with this parameters. The result is not guaranteed and can be impossible for many reasons. The extension source code is frequently not upto date with the most recent PHP version.
If you have another code source for this extension, provide it in comment.
Please (or register) to request a build.