Mac 安装swool
先看官方文档
https://wiki.swoole.com/#/environment

利用pecl安装
pecl install swoole
报错
configure.ac:12: error: Autoconf version 2.68 or higher is required
configure.ac:12: the top level
autom4te: /usr/bin/m4 failed with exit status: 63
ERROR: `phpize' failed

版本有点低
brew uninstall --ignore-dependencies autoconf
卸载重新安装
brew install autoconf

继续报错
brew install automake
brew install perl

google 一把
brew link --overwrite autoconf
brew install --HEAD neovim

看到了希望

继续安装吧
brew install openssl
再试一下

emmm~~~

还是老样子 继续Google
创建一个软连
ln -s /usr/local/opt/openssl/include/openssl /usr/local/include
waiting

successfully
太不容易了~~~