1.下载swoole
git clone https://gitee.com/swoole/swoole.git
2.使用phpize来生成php编译配置
在安装目录下执行 /.../php/bin/phpize
3.使用./configure做编译安装检测
./configure --with-php-config=/usr/local/php/bin/php-config
4.make进行编译
5.make install 进行安装
1.下载swoole
git clone https://gitee.com/swoole/swoole.git
2.使用phpize来生成php编译配置
在安装目录下执行 /.../php/bin/phpize
3.使用./configure做编译安装检测
./configure --with-php-config=/usr/local/php/bin/php-config
4.make进行编译
5.make install 进行安装
转载于:https://my.oschina.net/u/3840669/blog/3083127