diff --git a/apps/php8/8.0.30/build/php/extensions/install.sh b/apps/php8/8.0.30/build/php/extensions/install.sh index 84d2997a..38a3b00b 100644 --- a/apps/php8/8.0.30/build/php/extensions/install.sh +++ b/apps/php8/8.0.30/build/php/extensions/install.sh @@ -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 diff --git a/apps/php8/8.1.27/build/php/extensions/install.sh b/apps/php8/8.1.27/build/php/extensions/install.sh index 84d2997a..38a3b00b 100644 --- a/apps/php8/8.1.27/build/php/extensions/install.sh +++ b/apps/php8/8.1.27/build/php/extensions/install.sh @@ -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 diff --git a/apps/php8/8.2.15/build/php/extensions/install.sh b/apps/php8/8.2.15/build/php/extensions/install.sh index 84d2997a..38a3b00b 100644 --- a/apps/php8/8.2.15/build/php/extensions/install.sh +++ b/apps/php8/8.2.15/build/php/extensions/install.sh @@ -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