From b91b4cd5b2f701b27306d952d7c20c33e4f3150e Mon Sep 17 00:00:00 2001 From: dami Date: Sat, 21 Mar 2026 14:50:13 +0800 Subject: [PATCH] Update swoole.sh --- plugins/php-apt/versions/common/swoole.sh | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/plugins/php-apt/versions/common/swoole.sh b/plugins/php-apt/versions/common/swoole.sh index adfca0639..1a016bda8 100755 --- a/plugins/php-apt/versions/common/swoole.sh +++ b/plugins/php-apt/versions/common/swoole.sh @@ -26,8 +26,18 @@ elif [ "$version" == "7.1" ];then LIBV=4.5.2 elif [ "$version" == "7.0" ];then LIBV=4.3.0 +elif [ `echo "$version < 8.0"|bc` -eq 1 ];then + LIBV=6.0.2 +elif [ "$version" == "8.1" ];then + LIBV=6.1.7 +elif [ "$version" == "8.2" ];then + LIBV=6.2.0 +elif [ "$version" == "8.3" ];then + LIBV=6.2.0 +elif [ "$version" == "8.4" ];then + LIBV=6.2.0 elif [ "$version" == "8.5" ];then - LIBV=6.1.6 + LIBV=6.2.0 else echo 'ok' APT_INSTALL=1