尝试安装pecl扩展名时在Mac OS X 10.7.3上出现$ PHP

编程入门 行业动态 更新时间:2024-10-28 16:22:43
本文介绍了尝试安装pecl扩展名时在Mac OS X 10.7.3上出现$ PHP_AUTOCONF错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我正在尝试使用pecl_http和memcache设置计算机,在两种情况下,我都会遇到类似的错误.这是在MAC OS X 10.7.3(lion)上,而且我还安装了XCODE.在运行这些命令之前,我还安装了Zend Server社区版,并设置了CFLAGS ='-arch i386 -arch x86_64'环境变量.所以请帮忙我需要做的事情

I am trying to setup my machine with pecl_http and memcache and in both cases, I get similar errors. This is on MAC OS X 10.7.3 (lion) and I also have XCODE installed on it. I also installed Zend Server community edition before running these commands and have CFLAGS='-arch i386 -arch x86_64' environment variables set. So please help with what I need to do

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

推荐答案

brew install autoconf

简单得多的解决方案

更多推荐

尝试安装pecl扩展名时在Mac OS X 10.7.3上出现$ PHP

本文发布于:2023-10-23 12:19:10,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1520797.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:扩展名   Mac   pecl   PHP   OS

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!