---
title: "Php-Redis-Admin完全安装指南"
author: "bardo"
date: "2019-03-02T13:09:08Z"
tags: []
categories: ["编程语言"]
slug: "php-redis-admin"
draft: false
lastmod: "2019-03-02T13:11:25Z"
id: 2438328
url: "https://bardo.iteye.com/blog/2438328"
---

Php-Redis-Admin 是基于PhpRedmin的升级版。比老牌的PhpRedisAdmin要好得多，无论界面，功能，还是操作。

界面如下图：

![](http://dl2.iteye.com/upload/attachment/0131/5846/32b55aa1-c11b-3aa4-b9f8-a1fad99ef1d8.png)

 安装步骤：

1、从github下载到本地网站目录，比如，/phpredmin/。网址：https://github.com/faktiva/php-redis-admin

2、到下载目录/phpredmin/下运行 composer update.

3、到/phpredmin/app/config 目录下 复制 config.dist.php 为 config.php， 编辑 config.php， 将

28~31行的 php authenticate 配置注解掉，因为，我们现在都用的是CGI，这个功能用不了。

【这是重点;)】

    // 'auth' =&gt; array(

        //'username' =&gt; 'admin',

        //'password' =&gt; password\_hash('admin', PASSWORD\_DEFAULT),

    //),

注解掉。

4、运行：http://localhost/phpredmin/web/就可以打开了。

5、也可以根据Readme中的说明，添加Apache的Directory配置。如果添加了，就可以从以下网址打开：

http://localhost/phpredmin/