208 |
- |
1 |
; Enable redis extension module
|
|
|
2 |
extension = redis.so
|
|
|
3 |
|
|
|
4 |
; phpredis can be used to store PHP sessions.
|
|
|
5 |
; To do this, uncomment and configure below
|
|
|
6 |
|
|
|
7 |
; RPM note : save_handler and save_path are defined
|
|
|
8 |
; for mod_php, in /etc/httpd/conf.d/php.conf
|
|
|
9 |
; for php-fpm, in /etc/php-fpm.d/*conf
|
|
|
10 |
|
|
|
11 |
;session.save_handler = redis
|
|
|
12 |
;session.save_path = "tcp://host1:6379?weight=1, tcp://host2:6379?weight=2&timeout=2.5, tcp://host3:6379?weight=2"
|
|
|
13 |
|
|
|
14 |
; Configuration
|
|
|
15 |
;redis.arrays.algorithm = ''
|
|
|
16 |
;redis.arrays.auth = ''
|
|
|
17 |
;redis.arrays.autorehash = 0
|
|
|
18 |
;redis.arrays.connecttimeout = 0
|
|
|
19 |
;redis.arrays.consistent = 0
|
|
|
20 |
;redis.arrays.distributor = ''
|
|
|
21 |
;redis.arrays.functions = ''
|
|
|
22 |
;redis.arrays.hosts = ''
|
|
|
23 |
;redis.arrays.index = 0
|
|
|
24 |
;redis.arrays.lazyconnect = 0
|
|
|
25 |
;redis.arrays.names = ''
|
|
|
26 |
;redis.arrays.pconnect = 0
|
|
|
27 |
;redis.arrays.previous = ''
|
|
|
28 |
;redis.arrays.readtimeout = 0
|
|
|
29 |
;redis.arrays.retryinterval = 0
|
|
|
30 |
;redis.clusters.auth = 0
|
|
|
31 |
;redis.clusters.cache_slots = 0
|
|
|
32 |
;redis.clusters.persistent = 0
|
|
|
33 |
;redis.clusters.read_timeout = 0
|
|
|
34 |
;redis.clusters.seeds = ''
|
|
|
35 |
;redis.clusters.timeout = 0
|
|
|
36 |
;redis.pconnect.pooling_enabled = 1
|
|
|
37 |
;redis.pconnect.connection_limit = 0
|
|
|
38 |
;redis.pconnect.echo_check_liveness = 1
|
|
|
39 |
;redis.pconnect.pool_detect_dirty = 0
|
|
|
40 |
;redis.pconnect.pool_poll_timeout = 0
|
|
|
41 |
;redis.pconnect.pool_pattern => ''
|
|
|
42 |
;redis.session.lock_expire = 0
|
|
|
43 |
;redis.session.lock_retries = 10
|
|
|
44 |
;redis.session.lock_wait_time = 2000
|
|
|
45 |
;redis.session.locking_enabled = 0
|