Cannot find config.m4. 错误

Cannot find config.m4.  

Make sure that you run '/usr/local/php5/bin/phpize' in the top level source directory of the module  


解决方法是

1进入到模块源码目录下

我的源码目录/home/xhtest/php-5.6.2/

我安装的 插件是shmop 共享内存

也就是/home/xhtest/php-5.6.2/ext/shmop 目录下

2 执行phpize文件

/usr/local/php5/bin/phpize

得到以下结果就成功了

PHP Api Version:         20131106
Zend Module Api No:      20131226

Zend Extension Api No:   220131226


你可能感兴趣的:(Linux,PHP)