mac系统升级到10.9(mavericks)时安装php扩展,执行 phpize 提示如下错误:
Cannot find autoconf. Please check your autoconf installation
and the $PHP_AUTOCONF environment variable.
先安装Homebrew:
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"moved to:ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
然后安装 autoconf:
立即学习“PHP免费学习笔记(深入)”;
brew install autoconf
相关推荐:
编译PHP扩展报错“无法解析的外部符号 zend_new_interned_string
以上就是Mac为什么安装php扩展报错,如何解决的详细内容,更多请关注php中文网其它相关文章!
PHP怎么学习?PHP怎么入门?PHP在哪学?PHP怎么学才快?不用担心,这里为大家提供了PHP速学教程(入门到精通),有需要的小伙伴保存下载就能学习啦!
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号