⑴命令行 git clone https:
//github.com/swoole/swoole-src.git
或者下载后移动到linux服务器;
⑵unzip解压文件;
⑶/usr/bin/phpize 生成configure
如报错:Can't find PHP headers in /usr/include/php
The php-devel package is required for use of this command.
安装 yum install php-devel
然后 /usr/bin/phpize
⑷ 安装成功