mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-25 09:38: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
|
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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user