回顾下先前的安装笔记:
#下载 Swoole-1.8.10后,开始编译#
cd /Users/jianbao/Downloads/swoole-src-1.8.10-stable/usr/local/php/bin/phpize./configure --with-php-config=/usr/local/php/bin/php-config --enable-async-mysqlsudo make install
修改 php.ini,加入extension=swoole.so,开启swoole扩展
【报错】
$ sudo /usr/local/php/bin/phpizePassword:Configuring for:PHP Api Version: 20131106Zend Module Api No: 20131226Zend Extension Api No: 220131226Cannot find autoheader. Please check your autoconf installation and the$PHP_AUTOHEADER environment variable. Then, rerun this script.
【解决】
brew install autoconfln -s /usr/local/Cellar/autoconf/2.69/bin/autoconf /usr/local/bin/autoconfln -s /usr/local/Cellar/autoconf/2.69/bin/autoheader /usr/local/bin/autoheader