diff --git a/plugins/php/versions/common/swoole.sh b/plugins/php/versions/common/swoole.sh index 29a9121cf..818a0df4f 100755 --- a/plugins/php/versions/common/swoole.sh +++ b/plugins/php/versions/common/swoole.sh @@ -23,7 +23,7 @@ elif [ "$version" == "70" ];then LIBV=4.3.0 elif [ "$version" == "71" ];then LIBV=4.5.2 -elif [ "$version" == "72" ] || [ "$version" == "73" ] || [ "$version" == "74" ];then +elif [ "$version" -lt "74" ];then LIBV=4.8.10 elif [ "$version" -lt "80" ];then LIBV=5.1.7