Line 11... |
Line 11... |
11 |
;session.save_handler=memcached
|
11 |
;session.save_handler=memcached
|
12 |
; Defines a comma separated list of server urls to use for session storage
|
12 |
; Defines a comma separated list of server urls to use for session storage
|
13 |
;session.save_path="localhost:11211"
|
13 |
;session.save_path="localhost:11211"
|
14 |
|
14 |
|
15 |
; ----- Configuration options
|
15 |
; ----- Configuration options
|
16 |
; http://php.net/manual/en/memcached.configuration.php
|
16 |
; https://php.net/manual/en/memcached.configuration.php
|
17 |
|
17 |
|
18 |
[memcached]
|
18 |
[memcached]
|
19 |
; Use session locking
|
19 |
; Use session locking
|
20 |
; valid values: On, Off
|
20 |
; valid values: On, Off
|
21 |
; the default is On
|
21 |
; the default is On
|
Line 75... |
Line 75... |
75 |
; configured number of continuous times connection failure.
|
75 |
; configured number of continuous times connection failure.
|
76 |
;memcached.sess_server_failure_limit = 0
|
76 |
;memcached.sess_server_failure_limit = 0
|
77 |
|
77 |
|
78 |
; Write data to a number of additional memcached servers
|
78 |
; Write data to a number of additional memcached servers
|
79 |
; This is "poor man's HA" as libmemcached calls it.
|
79 |
; This is "poor man's HA" as libmemcached calls it.
|
80 |
; If this value is positive and sess_remove_failed is enabled
|
80 |
; If this value is positive and sess_remove_failed_servers is enabled
|
81 |
; when a memcached server fails the session will continue to be available
|
81 |
; when a memcached server fails the session will continue to be available
|
82 |
; from a replica. However, if the failed memcache server
|
82 |
; from a replica. However, if the failed memcache server
|
83 |
; becomes available again it will read the session from there
|
83 |
; becomes available again it will read the session from there
|
84 |
; which could have old data or no data at all
|
84 |
; which could have old data or no data at all
|
85 |
;memcached.sess_number_of_replicas = 0
|
85 |
;memcached.sess_number_of_replicas = 0
|
Line 100... |
Line 100... |
100 |
; during socket connection in milliseconds. Specifying -1 means an infinite timeout.
|
100 |
; during socket connection in milliseconds. Specifying -1 means an infinite timeout.
|
101 |
;memcached.sess_connect_timeout = 1000
|
101 |
;memcached.sess_connect_timeout = 1000
|
102 |
|
102 |
|
103 |
; Session SASL username
|
103 |
; Session SASL username
|
104 |
; Both username and password need to be set for SASL to be enabled
|
104 |
; Both username and password need to be set for SASL to be enabled
|
105 |
; In addition to this memcached.use_sasl needs to be on
|
- |
|
106 |
;memcached.sess_sasl_username = NULL
|
105 |
;memcached.sess_sasl_username = NULL
|
107 |
|
106 |
|
108 |
; Session SASL password
|
107 |
; Session SASL password
|
109 |
;memcached.sess_sasl_password = NULL
|
108 |
;memcached.sess_sasl_password = NULL
|
110 |
|
109 |
|
Line 146... |
Line 145... |
146 |
|
145 |
|
147 |
; The amount of retries for failed store commands.
|
146 |
; The amount of retries for failed store commands.
|
148 |
; This mechanism allows transparent fail-over to secondary servers when
|
147 |
; This mechanism allows transparent fail-over to secondary servers when
|
149 |
; set/increment/decrement/setMulti operations fail on the desired server in a multi-server
|
148 |
; set/increment/decrement/setMulti operations fail on the desired server in a multi-server
|
150 |
; environment.
|
149 |
; environment.
|
151 |
; the default is 2
|
150 |
; the default is 0
|
152 |
;memcached.store_retry_count = 2
|
151 |
;memcached.store_retry_count = 0
|
153 |
|
152 |
|
154 |
; Sets the default for consistent hashing for new connections.
|
153 |
; Sets the default for consistent hashing for new connections.
|
155 |
; (To configure consistent hashing for session connections,
|
154 |
; (To configure consistent hashing for session connections,
|
156 |
; use memcached.sess_consistent_hash instead)
|
155 |
; use memcached.sess_consistent_hash instead)
|
157 |
;
|
156 |
;
|