1
0
Fork 0

fix: 解决 PHP8 安装 swoole 失败的问题 (#1045)

This commit is contained in:
zhengkunwang 2024-03-06 11:36:30 +08:00 committed by GitHub
parent df45de78da
commit 5161e67898
3 changed files with 3 additions and 15 deletions

View File

@ -609,11 +609,7 @@ fi
if [[ -z "${EXTENSIONS##*,swoole,*}" ]]; then
echo "---------- Install swoole ----------"
apk add --no-cache libstdc++
isPhpVersionGreaterOrEqual 8 0
if [[ "$?" = "1" ]]; then
installExtensionFromTgz swoole-5.0.2 --enable-openssl --enable-http2
fi
install-php-extensions swoole
fi
if [[ -z "${EXTENSIONS##*,zip,*}" ]]; then

View File

@ -609,11 +609,7 @@ fi
if [[ -z "${EXTENSIONS##*,swoole,*}" ]]; then
echo "---------- Install swoole ----------"
apk add --no-cache libstdc++
isPhpVersionGreaterOrEqual 8 0
if [[ "$?" = "1" ]]; then
installExtensionFromTgz swoole-5.0.2 --enable-openssl --enable-http2
fi
install-php-extensions swoole
fi
if [[ -z "${EXTENSIONS##*,zip,*}" ]]; then

View File

@ -609,11 +609,7 @@ fi
if [[ -z "${EXTENSIONS##*,swoole,*}" ]]; then
echo "---------- Install swoole ----------"
apk add --no-cache libstdc++
isPhpVersionGreaterOrEqual 8 0
if [[ "$?" = "1" ]]; then
installExtensionFromTgz swoole-5.0.2 --enable-openssl --enable-http2
fi
install-php-extensions swoole
fi
if [[ -z "${EXTENSIONS##*,zip,*}" ]]; then