Skip to content

Commit

Permalink
Enable Swoole curl-native on Alpine
Browse files Browse the repository at this point in the history
Test: swoole
  • Loading branch information
MichaelGooden authored and michaelatinternet committed Jan 21, 2025
1 parent 5a87b11 commit 1e9a707
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions install-php-extensions
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 1e9a707

Please sign in to comment.