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

This commit is contained in:
zhengkunwang 2024-03-06 11:36:30 +08:00 committed by GitHub
parent ec4da4f1e2
commit abadcd44db
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 15 deletions

View File

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

View File

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

View File

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