memcached extension based on libmemcached library
C PHP M4 Shell C++ JavaScript
Latest commit 466485a Feb 19, 2017 @sodabrew sodabrew Bump version to 3.0.3
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 Fix session-persistent test failures on older libmemcached versions Feb 20, 2017
.cvsignore Ignore cscope.out Feb 4, 2009
.gitignore Test cleanup. May 2, 2011
.travis.yml Travis CI purge old versions of memcached and libmemcached (#309) Feb 2, 2017
CREDITS Release 0.1.4. Feb 13, 2009
ChangeLog Release notes for 3.0.3 Feb 20, 2017
LICENSE Update license to 3.01. Moved session handler support to separate fil… Nov 4, 2010
README.markdown Recommend libmemcached 1.0.18 or higher to match the release notes Feb 9, 2017
config.m4 Restore php_libmemcached_compat with workaround for missing memcached… Feb 7, 2017
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 Add API entries for flushBuffers() and getAllKeys() (#316) Feb 7, 2017
memcached.ini Document memcached.sess_binary_protocol Jul 25, 2016
package.xml Release notes for 3.0.3 Feb 20, 2017
php_libmemcached_compat.c Replace traditional free with pefree to match the registered allocato… Feb 20, 2017
php_libmemcached_compat.h Update warning for touch command in binary protocol mode with libmemc… Feb 12, 2017
php_memcached.c Update warning for touch command in binary protocol mode with libmemc… Feb 12, 2017
php_memcached.h Bump version to 3.0.3 Feb 20, 2017
php_memcached_private.h Restore php_libmemcached_compat with workaround for missing memcached… Feb 7, 2017
php_memcached_server.c Fix compiling with memcached binary protocol enabled (#312) Feb 7, 2017
php_memcached_server.h PHP7 Support Feb 3, 2015
php_memcached_session.c Fixed memleak (severs) Feb 19, 2017
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.18 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.