Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions memcached.ini
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,11 @@ memcached.sess_remove_failed_servers = Off
; which could have old data or no data at all
memcached.sess_number_of_replicas = 0

; memcached session binary mode
; libmemcached replicas only work if binary mode is enabled
memcached.sess_binary = Off
; Use the memcached binary protocol for memcached sessions (Instead of the text protocol)
; libmemcached replicas work only if binary mode is enabled.
; However, certain proxies (such as twemproxy) will work only if the binary protocol is disabled.
; Default is On. In older versions of php-memcached, this setting was Off and was called memcached.sess_binary.
memcached.sess_binary_protocol = On

; memcached session replica read randomize
memcached.sess_randomize_replica_read = Off
Expand Down
1 change: 0 additions & 1 deletion php_memcached.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
/* TODO
* - set LIBKETAMA_COMPATIBLE as the default?
* - fix unserialize(serialize($memc))
* - ability to set binary protocol for sessions
*/

#include "php_memcached.h"
Expand Down