memcache
pecl.php.net
memcached extension
Memcached is a caching daemon designed especially for
dynamic web applications to decrease database load by
storing objects in memory.
This extension allows you to work with memcached through
handy OO and procedural interfaces.
Antony Dovgal
tony2001
tony@daylessday.org
no
Mikael Johansson
mikl
mikael@synd.info
yes
Herman Radtke
hradtke
hradtke@php.net
yes
2012-09-22
2.2.7
2.2.7
stable
stable
PHP License
- PHP 5.4 compatibility
- Fixed return value error get_host_port_from_server().
- Fixed PECL Bug #16672 (memcache.php doesn't support unix socket)
- Fixed pecl bug #19374 (memcache.php throws Notice: Undefined index: VALUE when viewing expired items)
4.3.11
1.4.0b1
memcache
2010-10-03
2.2.6
2.2.6
stable
stable
PHP License
- Fixed pecl bug #16536 (Weight of 0 causes SegFault on memcache_add_server)
- Fixed pecl bug #17130 (Uninitialized tv.tv_usec causing PHP to loop endlessly)
- Fixed pecl bug #13623 (Memcache-client makes php segfault in semi-related code)
2009-02-27
2.2.5
2.2.5
stable
stable
PHP License
- Improved performance of consistent hash strategy
- Fixed PECL request #13758 (Failed to extract 'connection' variable from object)
2008-09-11
2.2.4
2.2.4
stable
stable
PHP License
- Added memcached stats script from Harun Yayli (http://livebookmark.net/memcachephp)
- Fixed server weight not being used in the session handler
- Fixed PECL bug #13343 (compilation breaks with CodeWarrior compiler)
- Fixed PECL bug #13546 (Session handler through unix socket)
- Fixed PECL bug #14239 (Memcache::set() modifies value parameter)
- Fixed PECL request #13725 (unnecessary allocations in mmc_consistent_add_server)
- Changed behaviour when unserialize/uncompress fail to return false instead of failing the server
2008-02-05
2.2.3
2.2.3
stable
stable
PHP License
- Fixed PECL bug #12883 (Breaks UTF-8 in keys)
- Fixed PECL bug #13060 (make problems, due to role="doc" instead of role="src")
- Added package version to phpinfo()
2008-01-10
2.2.2
2.2.2
stable
stable
PHP License
- Fixed PECL bug 12494 (Segmentation fault when Exception thrown in the callback function)
- Fixed PECL bug #12834 (segfault when getting duplicate array values on 64-bit system)
- Changed behaviour of close() to actually remove all servers from pool (PECL bug #12555)
- Added configure option for PEAR installer to disable session handler support
2007-11-01
2.2.1
2.2.1
stable
stable
PHP License
- Added argument to Memcache::get() that receives the flags for retrieved value(s)
- Fixed PECL bug 11369 ("nested" get calls in __wakeup() functions breaks)
- Fixed problem with keys being modified in-place and empty keys (PECL Bug #11236)
- Fixed incompatibility with standard hash strategy in previous versions
2007-09-21
2.2.0
2.2.0
stable
stable
PHP License
- Added support for consistent hash strategy
- New INI directives
"memcache.hash_strategy" = {standard, consistent}
"memcache.hash_function" = {crc32, fnv}
- PHP6 support
- Fixed PECL bug #11221 (Double free when returning cached object with __sleep)
- Fixed PECL bug #10607 (Segfault on array key retrieval when array key is not IS_STRING)
- Don't failover on "object to large" errors
- Use $phpincludedir for finding php_session.h
2007-03-27
2.1.2
2.1.2
stable
stable
PHP License
- Added missing files to the package.
2007-03-27
2.1.1
2.1.1
stable
stable
PHP License
- Added experimental session storage support. You can use memcached as session storage.
- Fixed PECL bug #9486 (empty keys should not be allowed in memcache_set/add())
- Fixed PECL bug #9854 (get() changes the datatype of variable of given as key)
2006-10-09
2.1.0
2.1.0
stable
stable
PHP License
- Servers may be flagged up/down and the user may specify a error callback
- Individual server params and up/down status may be changed at runtime
- New methods: setServerParams(), getServerStatus()
- Statistics methods support fetching other kinds of stats (slabs, items, cachedump, ...)
- Fixed PECL bugs #7631, #8117 (erroneous line feeds in config.m4)
- Added memcache.max_failover_attempts ini directive, which can be used to configure max number of
servers to try when setting and getting data.
2.0.4
2.0.4
stable
stable
2006-05-16
PHP License
- Redefined retry_interval as long to fix no-automatic-reconnect behaviour
- Fixed PECL bugs #7635, #7637 (OnUpdateInt: referenced symbol not found)
2.0.3
2.0.3
stable
stable
2006-05-15
PHP License
- Display ini entries in phpinfo() output
- Fixed Zend2 compat
2.0.2
2.0.2
stable
stable
2006-05-14
PHP License
- Added "memcache.default_port" ini directive (default 11211)
- Added "memcache.allow_failover" ini directive (default On)
- Added "memcache.chunk_size" ini directive (default 8192 bytes)
- Setting retry_interval parameter to -1 disables automatic reconnect
- Fixed PECL bug #7331 (NULL pointer freeing causes memcache to segfault)
2.0.1
2.0.1
stable
stable
2006-02-01
PHP License
- Fixed PECL bug #6595 (segfault in addServer())
- Fixed PECL bug #6512 (buffer overrun in getVersion())
- Fixed PECL bug #6460 (lacking include of php_smart_str_public.h)
- Fixed PECL bug #6370 (incorrect failover on out-of-memory server errors)
- Improved zlib detection
2.0.0
2.0.0
stable
stable
2005-12-21
PHP License
- Multiple servers with loadbalancing and failover
- Automatic compress threshold setting
- New methods: addServer(), getExtendedStats(), setCompressThreshold()
1.6
1.6
stable
stable
2005-10-12
PHP License
- Fixed minor leak appeared when connect fails.
- Fixed PECL bug #5626 (segfault when trying to use previously closed connection).
1.5
1.5
stable
stable
2005-08-05
PHP License
1) Fixed minor leak.
2) Class Memcache made inheritable.
1.4
1.4
stable
stable
2004-12-02
PHP License
1) Added multi get support (i.e. you're now able to get multiple items with one get() call,
just pass array of keys to get() and it will return associative array of found items).
1.3
1.3
stable
stable
2004-08-29
PHP License
1) Fixed potential problem with empty datasets (yet another patch from Andrey Nigmatulin [anight at monamour dot ru]).
2) Fixed bug #2167 (thanks to [pbnadeau at gmail dot com] for noticing, testing and patching).
1.2
1.2
stable
stable
2004-07-20
PHP License
1) Fixed typo, preventing to use set() with flags and expire in the same time (thanks to Troy Hakala [troy at recipezaar dot com] for noticing).
2) Added possibility to store objects and arrays compressed.
3) Hopefully fixed all possible problems with persistent connections (thanks to [anight at monamour dot ru]).
4) Some uncritical impovements.
1.1
1.1
stable
stable
2004-06-08
PHP License
1) Fixed couple of possible segfaults and one error (many thanks to Anight).
2) Minor improvements.
1.0
1.0
beta
beta
2004-05-21
PHP License
1) Ifdef'ed debug routines, so they are available only in debug mode.
This should add more speed to extension.
2) Minor code decorations.
0.4
0.4
beta
beta
2004-xx-xx
PHP License
1) Added on-the-fly data (de)compression support.
2) Added procedural API.
3) Extension was fairly refactored and accelerated.
0.2
0.2
beta
beta
2004-02-26
PHP License
New methods: getStats(), increment(), decrement().
Extension should be rather stable.
0.1
0.1
alpha
alpha
2004-02-08
PHP License
Initial release in PECL