swoole_async 扩展安装

记swoole 安装swoole_async扩展
在4.3版本开始我们逐渐开始移除与协程无关的模块,包括异步客户端、消息队列等。

确认swoole的版本对照来下载
https://github.com/swoole/ext-async/releases

wget 下载地址
tar zxvf 解压
cd 文件夹
./configure 重点--with-php-config=指向PHP安装路径中php-config执行文件
make -j 4
make install
php --ri swoole_async 查看是否安装成功

 

 

posted @ 2020-04-15 15:19  TongXiaLi  阅读(648)  评论(0编辑  收藏  举报