memcached extension based on libmemcached library
C PHP M4 Shell C++ JavaScript
Permalink
Failed to load latest commit information.
.travis Adjust the Travis CI matrix: PHP 7.0 and 7.1, fewer revisions of libm… Dec 7, 2016
fastlz remove svn files Nov 26, 2009
server-example Added more examples Nov 15, 2013
tests Value pass to callback behavior consistently with get Jul 26, 2016
.cvsignore Ignore cscope.out Feb 4, 2009
.gitignore Test cleanup. May 2, 2011
.travis.yml Adjust the Travis CI matrix: PHP 7.0 and 7.1, fewer revisions of libm… Dec 7, 2016
CREDITS Release 0.1.4. Feb 13, 2009
ChangeLog add missing releases (and dates for all) to changelog Mar 23, 2016
LICENSE Update license to 3.01. Moved session handler support to separate fil… Nov 4, 2010
README.markdown Add mention of msgpack to the README Jan 5, 2017
config.m4 Fixes to session Jan 21, 2016
config.w32 Change windows stuff here, not that anyone uses it Nov 26, 2013
g_fmt.c Fix warning: label 'done' defined but not used [-Wunused-label] Nov 19, 2013
g_fmt.h Convert float to ascii using g_fmt and zend_dtoa. May 2, 2011
memcached-api.php Added the OPT_SERVER_TIMEOUT_LIMIT behaviour. Mar 12, 2014
memcached.ini Document memcached.sess_binary_protocol Jul 25, 2016
package.xml remove duplicate 2.2.0b1 from package.xml Mar 23, 2016
php_libmemcached_compat.c Fixes memory errors, broken code, bugs etc Feb 6, 2016
php_libmemcached_compat.h Fixes memory errors, broken code, bugs etc Feb 6, 2016
php_memcached.c Whitespace Oct 11, 2016
php_memcached.h More package.xml / version updates Feb 1, 2016
php_memcached_private.h Consistently use #ifdef instead of #if for autoconf definitions Oct 11, 2016
php_memcached_server.c Avoid str duplication Jul 23, 2016
php_memcached_server.h PHP7 Support Feb 3, 2015
php_memcached_session.c Consistently use #ifdef instead of #if for autoconf definitions Oct 11, 2016
php_memcached_session.h Cleaning up driver for php7. WIP Jan 29, 2016

README.markdown

Build Status

Build Status

Description

This is the PECL memcached extension, using the libmemcached library to connect to memcached servers.

memcached is a high-performance, distributed memory object caching system, generic in nature, but intended for use in speeding up dynamic web applications by alleviating database load.

Building

$ phpize
$ ./configure
$ make
$ make test

Dependencies

php-memcached 3.x:

  • Supports PHP 7.0 - 7.1.
  • Requires libmemcached 1.x or higher.
  • Optionally supports igbinary 2.0 or higher.
  • Optionally supports msgpack 2.0 or higher.

php-memcached 2.x:

  • Supports PHP 5.2 - 5.6.
  • Requires libmemcached 0.44 or higher.
  • Optionally supports igbinary 1.0 or higher.
  • Optionally supports msgpack 0.5 or higher.

libmemcached version 1.0.16 or higher is recommended for best performance and compatibility with memcached servers.

igbinary is a faster and more compact binary serializer for PHP data structures. When installing php-memcached from source code, the igbinary module must be installed first so that php-memcached can access its C header files. Load both modules in your php.ini at runtime to begin using igbinary.

msgpack is a faster and more compact data structure representation that is interoperable with msgpack implementations for other languages. When installing php-memcached from source code, the msgpack module must be installed first so that php-memcached can access its C header files. Load both modules in your php.ini at runtime to begin using msgpack.