Home  >  Article  >  Backend Development  >  phpize出错:Cannot find config.m4

phpize出错:Cannot find config.m4

WBOY
WBOYOriginal
2016-06-13 12:23:272692browse

phpize报错:Cannot find config.m4

关于phpize是干嘛用的,可以参看php官方文档:

前几日想安装memcache的时候,需要为php安装memcache扩展,按照网上教程的步骤一步步执行时却报了如下错误:

Cannot find config.m4.Make sure that you run '/usr/local/php/bin/phpize' in the top level source directory of the module


其实报这个错的原因是,在执行phpize时,一定要在需要扩展编译的PHP模块目录中进行/usr/local/php/bin/phpize 这样才不会报错。

版权声明:本文为博主原创文章,未经博主允许不得转载。

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn