基本步骤
1 下载Swool源码包
https://github.com/swoole/swoole-src/releases
使用V3.4.4
2 编译安装
cd swoole-src-4.3.4
/usr/local/opt/php@7.2/bin/phpize
./configure --with-php-config=/usr/local/opt/php@7.2/bin/php-config
make install
Installing shared extensions: /usr/local/Cellar/php@7.2/7.2.18/pecl/20170718/
Installing header files: /usr/local/Cellar/php@7.2/7.2.18/include/php/
3 验证
swoole.png
网友评论