安装swoole
php需要安裝swoole擴展 swoole4.3.2 cd /usr/local/src/wget https://pecl.php.net/get/swoole-4.3.2.tgztar -zxvf swoole-4.3.2.tgzmv swoole-4.3.2 swoolecd swoole/usr/local/php/bin/phpize# 增加php配置./configure --enable-openssl --enable-swoole --enable-http2 --enable-sockets --with-php-config=/usr/local/php/bin/php-configmake && make install# 給php開啟swoole擴展vim /usr/local/php/etc/php.ini# 增加 extension = swoole.so/etc/init.d/php-fpm restart
?
轉載于:https://www.cnblogs.com/xiaobiaomei/p/10768648.html
總結
- 上一篇: linux 命令之文件读取,head,
- 下一篇: 转门派多少钱啊?