Skip to content

Commit

Permalink
Enable Swoole curl-native on Alpine (#1046)
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelGooden authored Feb 6, 2025
1 parent 2a68a3b commit 51f905d
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions install-php-extensions
Original file line number Diff line number Diff line change
Expand Up @@ -4126,19 +4126,14 @@ 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
installRemoteModule_zts=no
fi
installRemoteModule_sqlite=yes
installRemoteModule_iouring=no
installRemoteModule_curl=yes
case "$DISTRO" in
alpine)
if test $DISTRO_MAJMIN_VERSION -lt 317; then
Expand All @@ -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
Expand Down

0 comments on commit 51f905d

Please sign in to comment.