diff --git a/install-php-extensions b/install-php-extensions index 8d20648..e3a3b94 100755 --- a/install-php-extensions +++ b/install-php-extensions @@ -4126,12 +4126,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 @@ -4139,6 +4133,7 @@ installRemoteModule() { fi installRemoteModule_sqlite=yes installRemoteModule_iouring=no + installRemoteModule_curl=yes case "$DISTRO" in alpine) if test $DISTRO_MAJMIN_VERSION -lt 317; then @@ -4157,6 +4152,10 @@ installRemoteModule() { esac ;; debian) + if test $PHP_MAJMIN_VERSION -ge 800; then + # see https://github.com/swoole/swoole-src/issues/5365 + installRemoteModule_curl=no + fi if test $DISTRO_MAJMIN_VERSION -lt 1200; then # we need sqlite3 >= 3.7.7 installRemoteModule_sqlite=no