Mac OS X安装redis-php扩展
2015-08-16 19:05
736 查看
1.获取github中的redis-php扩展代码:
3.phpize
!!!!!!!!!!!!!!!!!!!!!!!
3.5 mac os 如果这里有Cannot find autoconf. Please check your autoconf installation and the
$PHP_AUTOCONF environment variable. Then, rerun this script.
的问题,那么:
执行:brew install autoconf
4.之后执行phpize
5. ./configure
6. make && sudo make install
7. 之后在php.ini中加一句 extension=redis.so 就ok了
git clone https://github.com/phpredis/phpredis.git
2.cd phpredis/3.phpize
!!!!!!!!!!!!!!!!!!!!!!!
3.5 mac os 如果这里有Cannot find autoconf. Please check your autoconf installation and the
$PHP_AUTOCONF environment variable. Then, rerun this script.
的问题,那么:
执行:brew install autoconf
4.之后执行phpize
5. ./configure
6. make && sudo make install
7. 之后在php.ini中加一句 extension=redis.so 就ok了
相关文章推荐
- Redis命令
- 为什么使用 Redis及其产品定位
- redis配置文件redis.conf详细说明
- redis sort命令用法
- Redis同步(主从复制)
- Redis学习——链表源码分析
- redis与mysql数据同步
- ubuntu安装redis
- redis
- redis入门
- mark--[Redis用户添加、分页、登录、注册、加关注案例]
- redis源码阅读[3]
- windows下安装redis
- redis cluster
- Redis监控工具,命令和调优
- Redis监控工具,命令和调优
- Redis学习——SDS字符串源码分析
- Redis学习笔记(1)
- 【学习笔记】C++操作redis库
- Redis学习——环境搭建以及基础命令使用