安装流程
- 拉取 swoole ,并完成编译
git clone https://gitee.com/swoole/swoole.git
cd swoole
phpize
./configure --with-php-config=/home/work/study/soft/php/bin/php-config
make && make install
- 将 swoole.so 扩展写入到 php.ini
vim /home/work/study/soft/php/lib/php.ini
extension=swoole.so