- 下载 swoole 并切换到当前最新版本
git clone https://github.com/swoole/swoole-src.git
cd swoole-src
2.安装扩展
phpize && \
./configure \
--enable-openssl \
--enable-http2 && \
make && sudo make install
3.
看默认配置文件路径 在此路径下新建swoole.ini
php-m查看是否安装成功
git clone https://github.com/swoole/swoole-src.git
cd swoole-src
2.安装扩展
phpize && \
./configure \
--enable-openssl \
--enable-http2 && \
make && sudo make install
3.
看默认配置文件路径 在此路径下新建swoole.ini
php-m查看是否安装成功