编译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
评论(0)