mac install yaf (php php-fpm)

clone and install yaf
https://github.com/laruence/php-yaf

运行 bin/phpize时出现错误:
Configuring for:
PHP Api Version:         20041225
Zend Module Api No:      20060613
Zend Extension Api No:   220060519
Cannot find autoconf. Please check your autoconf installation and the
$PHP_AUTOCONF environment variable. Then, rerun this script.
解决上述错误
# wget http://ftp.gnu.org/gnu/autoconf/autoconf-2.62.tar.gz
# tar -zvxf autoconf-2.62.tar.gz
# cd autoconf-2.62/
# ./configure && make && make install

在php.ini添加扩展
extension=yaf-2.3.2/modules/yaf.so

你可能感兴趣的:(mac install yaf (php php-fpm))