mac下phpize报错Cannot find autoconf. Please check your autoconf installation解决方法

本文为大家讲解的是mac下phpize报错Cannot find autoconf. Please check your autoconf installation解决方法,感兴趣的同学参考。

问题描述

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:

brew  install  autoconf

转载:http://www.phperz.com/article/15/0102/42077.html

你可能感兴趣的:(mac下phpize报错Cannot find autoconf. Please check your autoconf installation解决方法)