reference/memcache/ini.xml
d4d5216e7a965ca194f6b1c9dee84cecab2674e5
...
...
@@ -19,84 +19,99 @@
19
19
<row>
20
20
<entry><link linkend="ini.memcache.allow-failover">memcache.allow_failover</link></entry>
21
21
<entry>"1"</entry>
22
-
<entry>PHP_INI_ALL</entry>
22
+
<entry><constant>INI_ALL</constant></entry>
23
23
<entry>Available since memcache 2.0.2.</entry>
24
24
</row>
25
25
<row>
26
26
<entry><link linkend="ini.memcache.max-failover-attempts">memcache.max_failover_attempts</link></entry>
27
27
<entry>"20"</entry>
28
-
<entry>PHP_INI_ALL</entry>
28
+
<entry><constant>INI_ALL</constant></entry>
29
29
<entry>Available since memcache 2.1.0.</entry>
30
30
</row>
31
31
<row>
32
32
<entry><link linkend="ini.memcache.chunk-size">memcache.chunk_size</link></entry>
33
33
<entry>"8192"</entry>
34
-
<entry>PHP_INI_ALL</entry>
34
+
<entry><constant>INI_ALL</constant></entry>
35
35
<entry>Available since memcache 2.0.2.</entry>
36
36
</row>
37
37
<row>
38
38
<entry><link linkend="ini.memcache.default-port">memcache.default_port</link></entry>
39
39
<entry>"11211"</entry>
40
-
<entry>PHP_INI_ALL</entry>
40
+
<entry><constant>INI_ALL</constant></entry>
41
41
<entry>Available since memcache 2.0.2.</entry>
42
42
</row>
43
43
<row>
44
44
<entry><link linkend="ini.memcache.hash-strategy">memcache.hash_strategy</link></entry>
45
45
<entry>"standard"</entry>
46
-
<entry>PHP_INI_ALL</entry>
46
+
<entry><constant>INI_ALL</constant></entry>
47
47
<entry>Available since memcache 2.2.0.</entry>
48
48
</row>
49
49
<row>
50
50
<entry><link linkend="ini.memcache.hash-function">memcache.hash_function</link></entry>
51
51
<entry>"crc32"</entry>
52
-
<entry>PHP_INI_ALL</entry>
52
+
<entry><constant>INI_ALL</constant></entry>
53
53
<entry>Available since memcache 2.2.0.</entry>
54
54
</row>
55
55
<row>
56
-
<entry><link linkend="ini.session.save-handler">session.save_handler</link></entry>
57
-
<entry>"files"</entry>
58
-
<entry>PHP_INI_ALL</entry>
59
-
<entry>Supported since memcache 2.1.2</entry>
60
-
</row>
61
-
<row>
62
-
<entry><link linkend="ini.session.save-path">session.save_path</link></entry>
63
-
<entry>""</entry>
64
-
<entry>PHP_INI_ALL</entry>
65
-
<entry>Supported since memcache 2.1.2</entry>
66
-
</row>
67
-
<row>
68
56
<entry><link linkend="ini.memcache.protocol">memcache.protocol</link></entry>
69
57
<entry>ascii</entry>
70
-
<entry>>PHP_INI_ALL</entry>
58
+
<entry><constant>INI_ALL</constant></entry>
71
59
<entry>Supported since memcache 3.0.0</entry>
72
60
</row>
73
61
<row>
74
62
<entry><link linkend="ini.memcache.redundancy">memcache.redundancy</link></entry>
75
63
<entry>1</entry>
76
-
<entry>>PHP_INI_ALL</entry>
64
+
<entry><constant>INI_ALL</constant></entry>
77
65
<entry>Supported since memcache 3.0.0</entry>
78
66
</row>
79
67
<row>
80
68
<entry><link linkend="ini.memcache.session-redundancy">memcache.session_redundancy</link></entry>
81
69
<entry>2</entry>
82
-
<entry>>PHP_INI_ALL</entry>
70
+
<entry><constant>INI_ALL</constant></entry>
83
71
<entry>Supported since memcache 3.0.0</entry>
84
72
</row>
85
73
<row>
86
74
<entry><link linkend="ini.memcache.compress-threshold">memcache.compress_threshold</link></entry>
87
75
<entry>20000</entry>
88
-
<entry>>PHP_INI_ALL</entry>
76
+
<entry><constant>INI_ALL</constant></entry>
89
77
<entry>Supported since memcache 3.0.3</entry>
90
78
</row>
91
79
<row>
92
80
<entry><link linkend="ini.memcache.lock-timeout">memcache.lock_timeout</link></entry>
93
81
<entry>15</entry>
94
-
<entry>>PHP_INI_ALL</entry>
82
+
<entry><constant>INI_ALL</constant></entry>
95
83
<entry>Supported since memcache 3.0.4</entry>
96
84
</row>
97
85
</tbody>
98
86
</tgroup>
99
87
</table>
88
+
<table>
89
+
<title>Session Configuration Options Affecting Memcache Behavior</title>
90
+
<tgroup cols="4">
91
+
<thead>
92
+
<row>
93
+
<entry>&Name;</entry>
94
+
<entry>&Default;</entry>
95
+
<entry>&Changeable;</entry>
96
+
<entry>&Changelog;</entry>
97
+
</row>
98
+
</thead>
99
+
<tbody xml:id="memcache.ini.list.extra">
100
+
<row>
101
+
<entry><link linkend="ini.memcache.save-handler">session.save_handler</link></entry>
102
+
<entry>"files"</entry>
103
+
<entry><constant>INI_ALL</constant></entry>
104
+
<entry>Supported since memcache 2.1.2</entry>
105
+
</row>
106
+
<row>
107
+
<entry><link linkend="ini.memcache.save-path">session.save_path</link></entry>
108
+
<entry>""</entry>
109
+
<entry><constant>INI_ALL</constant></entry>
110
+
<entry>Supported since memcache 2.1.2</entry>
111
+
</row>
112
+
</tbody>
113
+
</tgroup>
114
+
</table>
100
115
&ini.php.constants;
101
116
</para>
102
117

...
...
@@ -188,40 +203,34 @@
188
203
</listitem>
189
204
</varlistentry>
190
205

191
-
<varlistentry xml:id="ini.memcache.session-handler">
206
+
<varlistentry xml:id="ini.memcache.protocol">
192
207
<term>
193
-
<parameter>session.save_handler</parameter>
208
+
<parameter>memcache.protocol</parameter>
194
209
<type>string</type>
195
210
</term>
196
211
<listitem>
197
212
<para>
198
-
Use memcache as a session handler by setting this value to <literal>memcache</literal>.
213
+
199
214
</para>
200
215
</listitem>
201
216
</varlistentry>
202
217

203
-
<varlistentry xml:id="ini.memcache.save-path">
218
+
<varlistentry xml:id="ini.memcache.redundancy">
204
219
<term>
205
-
<parameter>session.save_path</parameter>
206
-
<type>string</type>
220
+
<parameter>memcache.redundancy</parameter>
221
+
<type>int</type>
207
222
</term>
208
223
<listitem>
209
224
<para>
210
-
Defines a comma separated of server urls to use for session storage, for example
211
-
<literal>"tcp://host1:11211, tcp://host2:11211"</literal>.
212
-
</para>
213
-
<para>
214
-
Each url may contain parameters which are applied to that server, they are the same
215
-
as for the <function>Memcache::addServer</function> method. For example
216
-
<literal>"tcp://host1:11211?persistent=1&amp;weight=1&amp;timeout=1&amp;retry_interval=15"</literal>
225
+
217
226
</para>
218
227
</listitem>
219
228
</varlistentry>
220
229

221
-
<varlistentry xml:id="ini.memcache.protocol">
230
+
<varlistentry xml:id="ini.memcache.session-redundancy">
222
231
<term>
223
-
<parameter>memcache.protocol</parameter>
224
-
<type>string</type>
232
+
<parameter>memcache.session_redundancy</parameter>
233
+
<type>int</type>
225
234
</term>
226
235
<listitem>
227
236
<para>
...
...
@@ -230,9 +239,9 @@
230
239
</listitem>
231
240
</varlistentry>
232
241

233
-
<varlistentry xml:id="ini.memcache.redundancy">
242
+
<varlistentry xml:id="ini.memcache.compress-threshold">
234
243
<term>
235
-
<parameter>memcache.redundancy</parameter>
244
+
<parameter>memcache.compress_threshold</parameter>
236
245
<type>int</type>
237
246
</term>
238
247
<listitem>
...
...
@@ -242,9 +251,9 @@
242
251
</listitem>
243
252
</varlistentry>
244
253

245
-
<varlistentry xml:id="ini.memcache.session-redundancy">
254
+
<varlistentry xml:id="ini.memcache.lock-timeout">
246
255
<term>
247
-
<parameter>memcache.session_redundancy</parameter>
256
+
<parameter>memcache.lock_timeout</parameter>
248
257
<type>int</type>
249
258
</term>
250
259
<listitem>
...
...
@@ -254,26 +263,32 @@
254
263
</listitem>
255
264
</varlistentry>
256
265

257
-
<varlistentry xml:id="ini.memcache.compress-threshold">
266
+
<varlistentry xml:id="ini.memcache.save-handler">
258
267
<term>
259
-
<parameter>memcache.compress_threshold</parameter>
260
-
<type>int</type>
268
+
<parameter>session.save_handler</parameter>
269
+
<type>string</type>
261
270
</term>
262
271
<listitem>
263
272
<para>
264
-
273
+
Use memcache as a session handler by setting this value to <literal>memcache</literal>.
265
274
</para>
266
275
</listitem>
267
276
</varlistentry>
268
277

269
-
<varlistentry xml:id="ini.memcache.lock-timeout">
278
+
<varlistentry xml:id="ini.memcache.save-path">
270
279
<term>
271
-
<parameter>memcache.lock_timeout</parameter>
272
-
<type>int</type>
280
+
<parameter>session.save_path</parameter>
281
+
<type>string</type>
273
282
</term>
274
283
<listitem>
275
284
<para>
276
-
285
+
Defines a comma separated of server urls to use for session storage, for example
286
+
<literal>"tcp://host1:11211, tcp://host2:11211"</literal>.
287
+
</para>
288
+
<para>
289
+
Each url may contain parameters which are applied to that server, they are the same
290
+
as for the <function>Memcache::addServer</function> method. For example
291
+
<literal>"tcp://host1:11211?persistent=1&amp;weight=1&amp;timeout=1&amp;retry_interval=15"</literal>
277
292
</para>
278
293
</listitem>
279
294
</varlistentry>
280
295