天空小小岛技术网站

标题: phpize 时 Cannot find autoconf 解决方法 [打印本页]

作者: 一粒米    时间: 2011-12-14 14:28
标题: phpize 时 Cannot find autoconf 解决方法
centos 里给 php 装 memcache 扩展时有这么一步
  1. /usr/local/php/bin/phpize
复制代码
这时出现错误:
  1. Configuring for:
  2. PHP Api Version:         20041225
  3. Zend Module Api No:      20060613
  4. Zend Extension Api No:   220060519
  5. Cannot find autoconf. Please check your autoconf installation and the
  6. $PHP_AUTOCONF environment variable. Then, rerun this script.
复制代码
用 yum 来解决吧:
  1. yum install m4
  2. yum install autoconf
复制代码
搞定。




欢迎光临 天空小小岛技术网站 (http://tkxxd.net/) Powered by Discuz! X3.1