编译php扩展出现错误:Cannot find config.m4

时间:2014-08-14 23:45:56   收藏:0   阅读:2854

问题描述:

[root@localhost ~]# /usr/local/php/bin/phpize 
Cannot find config.m4. 
Make sure that you run ‘/usr/local/php/bin/phpize‘ in the top level source directory of the module

原因:当前目录没在扩展的目录

解决办法:进入到安装的扩展的目录,比如cd /home/cqh/tar/phpredis,然后再执行/usr/local/php/bin/phpize

编译php扩展出现错误:Cannot find config.m4,布布扣,bubuko.com

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!