From 1e9a70793eb4a73f29de74444b8de2c3231619d3 Mon Sep 17 00:00:00 2001 From: Michael gooden Date: Tue, 21 Jan 2025 11:35:37 +0200 Subject: [PATCH] Enable Swoole curl-native on Alpine Test: swoole --- install-php-extensions | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/install-php-extensions b/install-php-extensions index 1ecf13e..8518072 100755 --- a/install-php-extensions +++ b/install-php-extensions @@ -4101,12 +4101,6 @@ installRemoteModule() { fi ;; esac - if test $PHP_MAJMIN_VERSION -ge 800; then - # see https://github.com/swoole/swoole-src/issues/5365 - installRemoteModule_curl=no - else - installRemoteModule_curl=yes - fi if test $PHP_THREADSAFE -eq 1; then installRemoteModule_zts=yes else @@ -4116,6 +4110,7 @@ installRemoteModule() { installRemoteModule_iouring=no case "$DISTRO" in alpine) + installRemoteModule_curl=yes if test $DISTRO_MAJMIN_VERSION -lt 317; then # we need sqlite3 >= 3.7.7 installRemoteModule_sqlite=no @@ -4132,6 +4127,12 @@ installRemoteModule() { esac ;; debian) + if test $PHP_MAJMIN_VERSION -ge 800; then + # see https://github.com/swoole/swoole-src/issues/5365 + installRemoteModule_curl=no + else + installRemoteModule_curl=yes + fi if test $DISTRO_MAJMIN_VERSION -lt 1200; then # we need sqlite3 >= 3.7.7 installRemoteModule_sqlite=no