Home >Backend Development >PHP Tutorial > centos redis 装配

centos redis 装配

WBOY
WBOYOriginal
2016-06-13 12:37:10881browse

centos redis 安装
centos6.4+lnmp1.0

1.安装redis
$ wget http://download.redis.io/releases/redis-2.6.16.tar.gz
$ tar xzf redis-2.6.16.tar.gz
$ cd redis-2.6.16
$ make

2.启动服务
$ src/redis-server

3.测试
$ /redis-2.6.16/src/redis-cli
$ set test kk
$ get test

到这里都一切正常,但是怎么安装redis的PHP扩展?
网上各种教程试了都不行,死活装不成

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn