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

问题描述:

[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

文章来自:http://www.cnblogs.com/chenqionghe/p/3913607.html
© 2021 jiaocheng.bubufx.com  联系我们
ICP备案:鲁ICP备09046678号-3