#安装方法一源码安装参考
#./swoole.sh
mkdir -p ~/build && \
cd ~/build && \
rm -rf ./swoole-src && \
curl -o /tmp/swoole.tar.gz https://github.com/swoole/swoole-src/archive/refs/tags/v4.8.13.tar.gz -L && \
tar zxvf /tmp/swoole.tar.gz && \
mv swoole-src* swoole-src && \
cd swoole-src && \
phpize && \
./configure --with-php-config=/usr/local/php/bin/php-config \
--enable-openssl \
--enable-http2 && \
make && sudo make install
#安装方法二 官方安装方法(需要php8以上才能使用的安装方法)
#http://pecl.php.net/package/swoole
pecl install swoole
https://wiki.swoole.com/#/environment?id=%e6%b7%bb%e5%8a%a0swoole%e5%88%b0phpini
https://github.com/swow/swow
https://gitee.com/swow/swow/
#dll下载
https://github.com/swow/swow/releases
https://hyperf.wiki/2.2/#/
https://hyperf.wiki/2.2/#/zh-cn/quick-start/install
https://hyperf.wiki/3.0/#/zh-cn/quick-start/install?id=docker-下开发