mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-25 06:28:47 +08:00
fix: 解决 PHP8 安装 swoole 失败的问题 (#1045)
This commit is contained in:
parent
ec4da4f1e2
commit
abadcd44db
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user