File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 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
6363; which could have old data or no data at all
6464memcached.sess_number_of_replicas = 0
6565
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
6971
7072; memcached session replica read randomize
7173memcached.sess_randomize_replica_read = Off
Original file line number Diff line number Diff line change 1919/* TODO
2020 * - set LIBKETAMA_COMPATIBLE as the default?
2121 * - fix unserialize(serialize($memc))
22- * - ability to set binary protocol for sessions
2322 */
2423
2524#include "php_memcached.h"
You can’t perform that action at this time.
0 commit comments