parent
511faa5d98
commit
a73618bc03
|
@ -3107,6 +3107,8 @@ installRemoteModule() {
|
||||||
if test -z "$installRemoteModule_version"; then
|
if test -z "$installRemoteModule_version"; then
|
||||||
if test $PHP_MAJMIN_VERSION -lt 704; then
|
if test $PHP_MAJMIN_VERSION -lt 704; then
|
||||||
installRemoteModule_version=4.10.0
|
installRemoteModule_version=4.10.0
|
||||||
|
elif test $PHP_MAJMIN_VERSION -lt 801; then
|
||||||
|
installRemoteModule_version=22.0.0
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
installRemoteModule_version="$(resolvePeclStabilityVersion "$installRemoteModule_module" "$installRemoteModule_version")"
|
installRemoteModule_version="$(resolvePeclStabilityVersion "$installRemoteModule_module" "$installRemoteModule_version")"
|
||||||
|
@ -3118,28 +3120,28 @@ installRemoteModule() {
|
||||||
installRemoteModule_sockets=no
|
installRemoteModule_sockets=no
|
||||||
fi
|
fi
|
||||||
installRemoteModule_openssl=yes
|
installRemoteModule_openssl=yes
|
||||||
# enable sockets supports?
|
# enable sockets supports? (v < 22.1.0) / enable coroutine sockets? (v >= 22.1.0)
|
||||||
addConfigureOption enable-sockets $installRemoteModule_sockets
|
addConfigureOption enable-sockets $installRemoteModule_sockets
|
||||||
# enable openssl support?
|
# enable openssl support?
|
||||||
addConfigureOption enable-openssl $installRemoteModule_openssl
|
addConfigureOption enable-openssl $installRemoteModule_openssl
|
||||||
# enable http2 support?
|
# enable http2 support?
|
||||||
addConfigureOption enable-http2 yes
|
addConfigureOption enable-http2 yes
|
||||||
# enable mysqlnd support?
|
# enable mysqlnd support? (v < 22.1.0) / enable coroutine mysqlnd? (v >= 22.1.0)
|
||||||
addConfigureOption enable-mysqlnd yes
|
addConfigureOption enable-mysqlnd yes
|
||||||
if test -z "$installRemoteModule_version" || test $(compareVersions "$installRemoteModule_version" '22.8.0') -ge 0; then
|
if test -n "$installRemoteModule_version" && test $(compareVersions "$installRemoteModule_version" '22.0.0') -lt 0; then
|
||||||
#enable hook curl support?
|
|
||||||
addConfigureOption enable-hook-curl yes
|
|
||||||
# enable postgres support?
|
|
||||||
addConfigureOption with-postgres yes
|
|
||||||
else
|
|
||||||
# enable json support?
|
# enable json support?
|
||||||
addConfigureOption enable-swoole-json yes
|
addConfigureOption enable-swoole-json yes
|
||||||
# enable curl support?
|
# enable curl support?
|
||||||
addConfigureOption enable-swoole-curl yes
|
addConfigureOption enable-swoole-curl yes
|
||||||
if test -z "$installRemoteModule_version" || test $(compareVersions "$installRemoteModule_version" '4.8.0') -ge 0; then
|
if test $(compareVersions "$installRemoteModule_version" '4.8.0') -ge 0; then
|
||||||
# enable postgres support?
|
# enable postgres support?
|
||||||
addConfigureOption with-postgres yes
|
addConfigureOption with-postgres yes
|
||||||
fi
|
fi
|
||||||
|
else
|
||||||
|
#enable hook curl support? (v < 22.1.0) / enable coroutine curl? (v >= 22.1.0)
|
||||||
|
addConfigureOption enable-hook-curl yes
|
||||||
|
# enable postgres support? (v < 22.1.0) / enable coroutine postgres? (v >= 22.1.0)
|
||||||
|
addConfigureOption with-postgres yes
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
opentelemetry)
|
opentelemetry)
|
||||||
|
|
Loading…
Reference in New Issue