phpRedisAdmin is a simple web interface to manage Redis databases.php
phpRedisAdmin 在 Redis clients 的列表中,目前還零星有更新;nginx
It is released under the Creative Commons Attribution 3.0 license. This code is being developed and maintained by Erik Dubbelboer.git
You can find an example database at http://dubbelboer.com/phpRedisAdmin/github
git clone https://github.com/ErikDubbelboer/phpRedisAdmin.git cd phpRedisAdmin git clone https://github.com/nrk/predis.git vendor
auth_basic "redisadmin authentication required"; auth_basic_user_file htpasswd/redisadmin.example.com; index index.php; location ~ ".*\.php$" { include fastcgi_params; fastcgi_pass 127.0.0.1:9000; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; }
2016/10/25 12:23:36 [error] 19098#0: *3394834 FastCGI sent in stderr: "PHP message: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 72 bytes) in /home/app/example/phpRedisAdmin/index.php on line 53" while reading response header from upstream, client: 1.202.201.13, server: redisadmin.example.com, request: "GET / HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "redisadmin.example.com"
注:memory_limit 128M 內存限制問題,修改 /usr/local/php/lib/php.ini,或者 php 腳本加入ini_set('memory_limit', '256M');
詳見 ini_set 函數;web
Sasan Rose 主導開發的這個 Web 界面,頗具特點,支持 console 命令,有統計圖形,操控性看起來很強大;redis