1.下载swoolephp
git clone https://gitee.com/swoole/swoole.gitgit
2.使用phpize来生成php编译配置swoole
在安装目录下执行 /.../php/bin/phpizeblog
3.使用./configure作编译安装检测it
./configure --with-php-config=/usr/local/php/bin/php-config编译
4.make进行编译配置
5.make install 进行安装下载