Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable Swoole curl-native on Alpine #1046

Merged
merged 3 commits into from
Feb 6, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions install-php-extensions
Original file line number Diff line number Diff line change
Expand Up @@ -4109,19 +4109,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 @@ -4140,6 +4135,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