问题描述
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.githubusercontent.com/Homebrew/install/master/install)"
然后安装 autoconf:
brew
install
autoconf