File tree Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,13 @@ php composer.phar install
33
33
You may also want to copy include/config.simple.inc.php to include/config.inc.php
34
34
and edit it with your specific redis configuration.
35
35
36
+ Instead of using [ composer] ( http://getcomposer.org/ ) you can also do a manual install using:
37
+
38
+ ```
39
+ git clone https://github.com/ErikDubbelboer/phpRedisAdmin.git
40
+ cd phpRedisAdmin
41
+ git clone https://github.com/nrk/predis.git vendor
42
+ ```
36
43
37
44
TODO
38
45
====
Original file line number Diff line number Diff line change 32
32
33
33
$ info [$ i ] = $ redis ->info ();
34
34
$ info [$ i ]['size ' ] = $ redis ->dbSize ();
35
+
36
+ if (!isset ($ info [$ i ]['Server ' ])) {
37
+ $ info [$ i ]['Server ' ] = array (
38
+ 'redis_version ' => $ info [$ i ]['redis_version ' ],
39
+ 'uptime_in_seconds ' => $ info [$ i ]['uptime_in_seconds ' ]
40
+ );
41
+ }
42
+ if (!isset ($ info [$ i ]['Memory ' ])) {
43
+ $ info [$ i ]['Memory ' ] = array (
44
+ 'used_memory ' => $ info [$ i ]['used_memory ' ]
45
+ );
46
+ }
35
47
}
36
48
37
49
You can’t perform that action at this time.
0 commit comments