memcached extension based on libmemcached library
C PHP M4 Shell C++ JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
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 Avoid hanging getStats() when binary protocol and non-blocking are bo… Jan 23, 2018
.cvsignore Ignore cscope.out Feb 4, 2009
.gitignore Test cleanup. May 2, 2011
.travis.yml Update for new PHP 7.3 REFCOUNT macros (#390) Mar 30, 2018
CREDITS Release 0.1.4. Feb 13, 2009
ChangeLog Release notes for 3.0.4 Dec 10, 2017
LICENSE Update license to 3.01. Moved session handler support to separate fil… Nov 4, 2010
README.markdown Supports PHP 7.0 - 7.2 Dec 19, 2017
config.m4 Add support for libmemcached encryption (#381) Jan 20, 2018
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 support for libmemcached encryption (#381) Jan 20, 2018
memcached.ini Add INI setting to choose session consistent hash (ketama or ketama_w… Apr 9, 2018
package.xml Expose build configuration via PECL (#383) Mar 30, 2018
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 Add INI setting to choose session consistent hash (ketama or ketama_w… Apr 9, 2018
php_memcached.h Add INI setting to choose session consistent hash (ketama or ketama_w… Apr 9, 2018
php_memcached_private.h Add INI setting to choose session consistent hash (ketama or ketama_w… Apr 9, 2018
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 Add INI setting to choose session consistent hash (ketama or ketama_w… Apr 9, 2018
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.2.
  • 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.