1、下载地址: https://github.com/swoole/swoole-src/releases
2、安装
### 解压
# tar -zxvf swoole-src-4.3.4.tar.gz
# cd swoole-src-4.3.4
### 配置php的路径,根据自己配置路径进行修改
# ./configure --with-php-config=/export/servers/php7/bin/php-config
# make && make install
3、配置php.ini
编译安装成功后,修改php.ini加入
extension=swoole.so
参考链接:
https://wiki.swoole.com/wiki/page/6.html
https://blog.csdn.net/furzoom/article/details/53322510
https://blog.jam00.com/article/info/53.html