---
title: "redis - phpredisadmin"
author: "飞奔的熊猫"
date: "2015-01-21T17:14:34Z"
tags: []
categories: ["开源软件"]
slug: "redis-phpredisadmin"
draft: false
lastmod: "2015-01-21T17:49:00Z"
id: 2178144
url: "https://runpanda.iteye.com/blog/2178144"
---

【基本介绍】
这里介绍安装redis查看工具phpredisadmin

【基本按照】
phpRedisAdmin:
<https://github.com/ErikDubbelboer/phpRedisAdmin>
predis
<https://github.com/nrk/predis>

0.前提
php安装redis模块，并且webserver支持php

1.安装

```linux

git clone https://github.com/ErikDubbelboer/phpRedisAdmin.git
cd phpRedisAdmin/
cat README.markdown
git submodule init
git submodule update

```


2.配置
config.inc.php

```linux
$config = array(
  'servers' => array(
    array(
      'name'   => '10.xx.xx.xx:6300', // Optional name.
      'host'   => '10.xx.xx.xx',
      'port'   => 6300,
      'filter' => '*',
    ),
```



3. 如果没有用git,那么拷贝phpredisadmin到webserver根目录后还要拷贝predis到phpredisadmin目录下面
4. 有时候要检查系统的enforce

【参考引用】
<http://www.douban.com/note/246191125/>
<http://blog.csdn.net/vfloyd/article/details/7432933>