208 |
- |
1 |
; ----- Enable memcache extension module
|
|
|
2 |
extension=memcache.so
|
|
|
3 |
|
|
|
4 |
; ----- Options for the memcache module
|
|
|
5 |
; see http://www.php.net/manual/en/memcache.ini.php
|
|
|
6 |
|
|
|
7 |
; Whether to transparently failover to other servers on errors
|
|
|
8 |
;memcache.allow_failover=1
|
|
|
9 |
; Data will be transferred in chunks of this size
|
|
|
10 |
;memcache.chunk_size=32768
|
|
|
11 |
; Autocompress large data
|
|
|
12 |
;memcache.compress_threshold=20000
|
|
|
13 |
; The default TCP port number to use when connecting to the memcached server
|
|
|
14 |
;memcache.default_port=11211
|
|
|
15 |
; Hash function {crc32, fnv}
|
|
|
16 |
;memcache.hash_function=crc32
|
|
|
17 |
; Hash strategy {standard, consistent}
|
|
|
18 |
;memcache.hash_strategy=consistent
|
|
|
19 |
; Defines how many servers to try when setting and getting data.
|
|
|
20 |
;memcache.max_failover_attempts=20
|
|
|
21 |
; The protocol {ascii, binary} : You need a memcached >= 1.3.0 to use the binary protocol
|
|
|
22 |
; The binary protocol results in less traffic and is more efficient
|
|
|
23 |
;memcache.protocol=ascii
|
|
|
24 |
; Redundancy : When enabled the client sends requests to N servers in parallel
|
|
|
25 |
;memcache.redundancy=1
|
|
|
26 |
;memcache.session_redundancy=2
|
|
|
27 |
; Lock Timeout
|
|
|
28 |
;memcache.lock_timeout = 15
|
|
|
29 |
|
|
|
30 |
;memcache.prefix_host_key = 0
|
|
|
31 |
;memcache.prefix_host_key_remove_www = 1
|
|
|
32 |
;memcache.prefix_host_key_remove_subdomain = 0
|
|
|
33 |
;memcache.prefix_static_key = ''
|
|
|
34 |
|
|
|
35 |
; ----- Options to use the memcache session handler
|
|
|
36 |
|
|
|
37 |
; RPM note : save_handler and save_path are defined
|
|
|
38 |
; for mod_php, in /etc/httpd/conf.d/php.conf
|
|
|
39 |
; for php-fpm, in /etc/php-fpm.d/*conf
|
|
|
40 |
|
|
|
41 |
; Use memcache as a session handler
|
|
|
42 |
;session.save_handler=memcache
|
|
|
43 |
; Defines a comma separated of server urls to use for session storage
|
|
|
44 |
; Only used when memcache.session_save_path is not set
|
|
|
45 |
;session.save_path="tcp://localhost:11211?persistent=1&weight=1&timeout=1&retry_interval=15"
|
|
|
46 |
;memcache.session_prefix_host_key = 0
|
|
|
47 |
;memcache.session_prefix_host_key_remove_www = 1
|
|
|
48 |
;memcache.session_prefix_host_key_remove_subdomain = 0
|
|
|
49 |
;memcache.session_prefix_static_key = ''
|
|
|
50 |
;memcache.session_save_path = ''
|