centOS6.5下安装redis扩展
来源:互联网 发布:sql查询语句表别名 编辑:程序博客网 时间:2024/06/05 20:00
已安装redis,未安装请先安装redis!!
1.下载php_redis扩展模块phpredis下载地址: https://codeload.github.com/owlient/phpredis/zip/master
2.解压下载的redis模块
#unzip phpredis-master.zip #cd phpredis-master3.确定phpize的所在目录
#whereis phpize(我的目录是:/usr/bin/phpize)
4.安装redis模块
#/usr/bin/phpize #./configure --with-php-config=/usr/bin/php-config#make#make install5.修改php.ini
加入这段话:extension=redis.so
6.重启php-fpm和nginx(apache)
#service php-fpm restart#service nginx restart
0 0
- centOS6.5下安装redis扩展
- CentOS6.5 下Redis 安装
- centos6.5下安装redis
- CentOS6下源码编译的php7安装redis扩展
- CentOS6.5下Redis安装与配置
- CentOS6.5下Redis安装与配置
- CentOS6.5下Redis安装与配置
- CentOS6.5下Redis安装与配置
- # CentOs6.5下简单安装redis
- CentOS6.5下Redis安装与配置
- CentOS6.5下Redis安装与配置
- CentOS6.5下Redis安装与配置
- CentOS6.5下Redis安装与配置
- CentOS6.5下Redis安装与配置
- CentOS6.5下Redis安装与配置
- CentOS6.5下Redis安装与配置
- CentOS6.5下Redis安装与配置
- CentOS6.5下Redis安装与配置
- linux压缩和解压缩
- 把数组排成最小的数
- HDU 4055 Number String
- HBase shell常用命令
- Android笔记之自定义View——绘制圆环比例展示图
- centOS6.5下安装redis扩展
- embed和video的使用
- Android 获取机型设备信息
- 数据结构示例之根据位置和长度删除子字符串
- 惠普奥德赛计划:谁的掘墓人?
- Dubbo+Zookeeper实现分布式服务和负载均衡
- Ubuntu的网络配置
- 网络营销,不仅仅是营销型网站建设
- JDBC中事务的使用