您好,欢迎来到三六零分类信息网!老站,搜索引擎当天收录,欢迎发信息

centos redis 装配

2024/4/1 0:03:57发布49次查看
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扩展?
网上各种教程试了都不行,死活装不成
分享到:
------解决方案--------------------
你安装好php,直接加载php_redis扩展即可。
------解决方案--------------------
redis的官网都有,很多推荐
http://redis.io/clients
predis ? ★ repository jol1hahn  mature and supported
phpredis ? ★ repository yowgi  this is a client written in c as a php module.
rediska ? repository homepage shumkov
redisserver repository oz  standalone and full-featured class for redis in php
redisent ? repository justinpoliey
credis repository colinmollenhour  lightweight, standalone, unit-tested fork of redisent which wraps phpredis for best performance if available.
该用户其它信息

VIP推荐

免费发布信息,免费发布B2B信息网站平台 - 三六零分类信息网 沪ICP备09012988号-2
企业名录 Product