首页 > mac安装redis遇到问题

mac安装redis遇到问题

在mac中进行lamp开发,需要安装redis,安装php的redis驱动出现问题。
我的是mac 10.9.1

安装驱动:
进入php-redis目录,执行phpize报错:
1.
grep: /usr/include/php/main/php.h: No such file or directory
grep: /usr/include/php/Zend/zend_modules.h: No such file or directory
grep: /usr/include/php/Zend/zend_extensions.h: No such file or directory

2.
Cannot find autoconf


问题已经解决
说说遇到的两个问题,具体操作google
1.使用phpize 报grep: /usr/include/php/main/php.h: No such file or directory
解决:可能是因为mac升级了,需要ln个xcode的链接
2.使用phpize 报Cannot find autoconf
解决:需要安装autoconf


请问你是使用何种方式安装,如果使用homebrew的话,基本安装的软件都可以在/usr/loca/里面找到,bin和sbin是可执行文件,etc是配置,Cellar是软件文件,等等。我用的nginx不晓得apache怎么玩。。
其他的我也不晓得了。但愿帮得上你。

【热门文章】
【热门文章】