forked from erikdubbelboer/phpRedisAdmin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.inc.php
56 lines (40 loc) · 1.18 KB
/
config.inc.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<?php
$config = array(
'servers' => array(
0 => array(
'name' => 'local server', // Optional name.
'host' => '127.0.0.1',
'port' => 6379,
// Optional Redis authentication.
//'auth' => 'redispasswordhere' // Warning: The password is sent in plain-text to the Redis server.
),
/*1 => array(
'host' => 'localhost',
'port' => 6380
),*/
/*2 => array(
'name' => 'local db 2',
'host' => 'localhost',
'port' => 6379,
'db' => 1 // Optional database number, see http://redis.io/commands/select
)*/
),
'seperator' => ':',
// Uncomment to show less information and make phpRedisAdmin fire less commands to the Redis server. Recommended for a really busy Redis server.
//'faster' => true,
// Uncomment to enable HTTP authentication
/*'login' => array(
// Username => Password
// Multiple combinations can be used
'admin' => array(
'password' => 'adminpassword',
),
'guest' => array(
'password' => '',
'servers' => array(1) // Optional list of servers this user can access.
)
),*/
// You can ignore settings below this point.
'maxkeylen' => 100
);
?>