首页 > Web开发 > 详细

Mac OS X安装redis-php扩展

时间:2015-08-16 19:48:49      阅读:312      评论:0      收藏:0      [点我收藏+]

1.获取github中的redis-php扩展代码:

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了

版权声明:本文为博主原创文章,未经博主允许不得转载。

Mac OS X安装redis-php扩展

原文:http://blog.csdn.net/qq754406613/article/details/47704907

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!