首页
学习
活动
专区
工具
TVP
发布
社区首页 >问答首页 >当尝试安装pecl扩展时,在mac os x 10.7.3上出现$PHP_AUTOCONF错误

当尝试安装pecl扩展时,在mac os x 10.7.3上出现$PHP_AUTOCONF错误
EN

Stack Overflow用户
提问于 2012-02-17 12:06:23
回答 6查看 98.9K关注 0票数 109

我试图用pecl_http和memcache设置我的机器,在这两种情况下,我都得到了类似的错误。这是在MAC 10.7.3 (lion)上的,我也在上面安装了XCODE。在运行这些命令之前,我还安装了Zend Server社区版,并设置了CFLAGS='-arch i386 -arch x86_64‘环境变量。所以请帮助我做我需要做的事情

bash-3.2# **sudo pecl install pecl_http-1.7.1**
downloading pecl_http-1.7.1.tgz ...
Starting to download pecl_http-1.7.1.tgz (174,098 bytes)
.....................................done: 174,098 bytes
71 source files, building
running: phpize
Configuring for:
PHP Api Version:         20090626
Zend Module Api No:      20090626
Zend Extension Api No:   220090626
Cannot find autoconf. Please check your autoconf installation and the
$PHP_AUTOCONF environment variable. Then, rerun this script.
ERROR: `phpize' failed
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/9322742

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档