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.0.0b1 change log

- Change the return value for non-existing keys to be NULL rather than
'false', affects simple get only
- Add fastlz library that provides better/faster payload compression
- Add configure switch to enable/disable JSON serialization support
- Add getAllKeys() method
- Add deleteMulti() and deleteMultiByKey() methods
- Add isPristine() and isPersistent() methods
- Add setOptions() method to set multiple options at once
- Add SERIALIZER_JSON_ARRAY type that decodes JSON payloads as arrays
instead of objects
- Add support for Unix domain socket connections
- Add memcached.compression_threshold INI setting
- Add memcached.compression_factor INI setting
- Add memcached.compression_type INI setting
- Implement a few speed optimizations
- Many bug fixes and memory leaks plugged
- Add several more tests
- Add constants for libmemcached 0.37+:
- Add 'on_new' callback to constructor
- Add SASL support


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



Stars: 983
Issue openned: 50
Downloads: 16843002
13 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.