swool_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 查看是否安装成功

原文地址:https://www.cnblogs.com/Python-233/p/12705538.html