File tree 2 files changed +5
-4
lines changed
2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -63,9 +63,11 @@ memcached.sess_remove_failed_servers = Off
63
63
; which could have old data or no data at all
64
64
memcached.sess_number_of_replicas = 0
65
65
66
- ; memcached session binary mode
67
- ; libmemcached replicas only work if binary mode is enabled
68
- memcached.sess_binary = Off
66
+ ; Use the memcached binary protocol for memcached sessions (Instead of the text protocol)
67
+ ; libmemcached replicas work only if binary mode is enabled.
68
+ ; However, certain proxies (such as twemproxy) will work only if the binary protocol is disabled.
69
+ ; Default is On. In older versions of php-memcached, this setting was Off and was called memcached.sess_binary.
70
+ memcached.sess_binary_protocol = On
69
71
70
72
; memcached session replica read randomize
71
73
memcached.sess_randomize_replica_read = Off
Original file line number Diff line number Diff line change 19
19
/* TODO
20
20
* - set LIBKETAMA_COMPATIBLE as the default?
21
21
* - fix unserialize(serialize($memc))
22
- * - ability to set binary protocol for sessions
23
22
*/
24
23
25
24
#include "php_memcached.h"
You can’t perform that action at this time.
0 commit comments