Add support for openswoole on PHP 8.3 (#832)
parent
dc5905ad55
commit
f039b21f7d
|
@ -65,7 +65,7 @@ oci8 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3
|
||||||
odbc 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3
|
odbc 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3
|
||||||
opcache 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3
|
opcache 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3
|
||||||
opencensus 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3
|
opencensus 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3
|
||||||
openswoole 7.2 7.3 7.4 8.0 8.1 8.2
|
openswoole 7.2 7.3 7.4 8.0 8.1 8.2 8.3
|
||||||
opentelemetry 8.0 8.1 8.2 8.3
|
opentelemetry 8.0 8.1 8.2 8.3
|
||||||
parallel 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3
|
parallel 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3
|
||||||
parle 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3
|
parle 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3
|
||||||
|
|
|
@ -3181,28 +3181,88 @@ installRemoteModule() {
|
||||||
installRemoteModule_sockets=no
|
installRemoteModule_sockets=no
|
||||||
fi
|
fi
|
||||||
installRemoteModule_openssl=yes
|
installRemoteModule_openssl=yes
|
||||||
# enable sockets supports? (v < 22.1.0) / enable coroutine sockets? (v >= 22.1.0)
|
if test -n "$installRemoteModule_version" && test $(compareVersions "$installRemoteModule_version" 22.1.2) -ge 0; then
|
||||||
|
# enable coroutine sockets?
|
||||||
|
addConfigureOption enable-sockets $installRemoteModule_sockets
|
||||||
|
# enable openssl support?
|
||||||
|
addConfigureOption enable-openssl $installRemoteModule_openssl
|
||||||
|
# enable http2 protocol?
|
||||||
|
addConfigureOption enable-http2 yes
|
||||||
|
# enable coroutine mysqlnd?
|
||||||
|
addConfigureOption enable-mysqlnd yes
|
||||||
|
# enable coroutine curl?
|
||||||
|
addConfigureOption enable-hook-curl yes
|
||||||
|
# enable coroutine postgres?
|
||||||
|
addConfigureOption with-postgres yes
|
||||||
|
elif test $(compareVersions "$installRemoteModule_version" 22.1.1) -ge 0; then
|
||||||
|
# enable c-ares support?
|
||||||
|
addConfigureOption enable-cares yes
|
||||||
|
# enable coroutine sockets?
|
||||||
|
addConfigureOption enable-sockets $installRemoteModule_sockets
|
||||||
|
# enable openssl support?
|
||||||
|
addConfigureOption enable-openssl $installRemoteModule_openssl
|
||||||
|
# enable http2 protocol?
|
||||||
|
addConfigureOption enable-http2 yes
|
||||||
|
# enable coroutine mysqlnd?
|
||||||
|
addConfigureOption enable-mysqlnd yes
|
||||||
|
# enable coroutine curl?
|
||||||
|
addConfigureOption enable-hook-curl yes
|
||||||
|
# enable coroutine postgres?
|
||||||
|
addConfigureOption with-postgres yes
|
||||||
|
elif test $(compareVersions "$installRemoteModule_version" 22.1.0) -ge 0; then
|
||||||
|
# enable coroutine sockets?
|
||||||
|
addConfigureOption enable-sockets $installRemoteModule_sockets
|
||||||
|
# enable openssl support?
|
||||||
|
addConfigureOption enable-openssl $installRemoteModule_openssl
|
||||||
|
# enable http2 protocol?
|
||||||
|
addConfigureOption enable-http2 yes
|
||||||
|
# enable coroutine mysqlnd?
|
||||||
|
addConfigureOption enable-mysqlnd yes
|
||||||
|
# enable coroutine curl?
|
||||||
|
addConfigureOption enable-hook-curl yes
|
||||||
|
# enable coroutine postgres?
|
||||||
|
addConfigureOption with-postgres yes
|
||||||
|
elif test $(compareVersions "$installRemoteModule_version" 22.0.0) -ge 0; then
|
||||||
|
# enable sockets supports?
|
||||||
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? (v < 22.1.0) / enable coroutine mysqlnd? (v >= 22.1.0)
|
# enable mysqlnd support?
|
||||||
|
addConfigureOption enable-mysqlnd yes
|
||||||
|
# enable hook curl support?
|
||||||
|
addConfigureOption enable-hook-curl yes
|
||||||
|
# enable postgres support?
|
||||||
|
addConfigureOption with-postgres yes
|
||||||
|
elif test $(compareVersions "$installRemoteModule_version" 4.8.0) -ge 0; then
|
||||||
|
# enable sockets supports?
|
||||||
|
addConfigureOption enable-sockets $installRemoteModule_sockets
|
||||||
|
# enable openssl support?
|
||||||
|
addConfigureOption enable-openssl $installRemoteModule_openssl
|
||||||
|
# enable http2 support?
|
||||||
|
addConfigureOption enable-http2 yes
|
||||||
|
# enable mysqlnd support?
|
||||||
addConfigureOption enable-mysqlnd yes
|
addConfigureOption enable-mysqlnd yes
|
||||||
if test -n "$installRemoteModule_version" && test $(compareVersions "$installRemoteModule_version" '22.0.0') -lt 0; then
|
|
||||||
# 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 $(compareVersions "$installRemoteModule_version" '4.8.0') -ge 0; then
|
|
||||||
# enable postgres support?
|
# enable postgres support?
|
||||||
addConfigureOption with-postgres yes
|
addConfigureOption with-postgres yes
|
||||||
fi
|
|
||||||
else
|
else
|
||||||
#enable hook curl support? (v < 22.1.0) / enable coroutine curl? (v >= 22.1.0)
|
# enable sockets supports?
|
||||||
addConfigureOption enable-hook-curl yes
|
addConfigureOption enable-sockets $installRemoteModule_sockets
|
||||||
# enable postgres support? (v < 22.1.0) / enable coroutine postgres? (v >= 22.1.0)
|
# enable openssl support?
|
||||||
addConfigureOption with-postgres yes
|
addConfigureOption enable-openssl $installRemoteModule_openssl
|
||||||
|
# enable http2 support?
|
||||||
|
addConfigureOption enable-http2 yes
|
||||||
|
# enable mysqlnd support?
|
||||||
|
addConfigureOption enable-mysqlnd yes
|
||||||
|
# enable json support?
|
||||||
|
addConfigureOption enable-swoole-json yes
|
||||||
|
# enable curl support?
|
||||||
|
addConfigureOption enable-swoole-curl yes
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
opentelemetry)
|
opentelemetry)
|
||||||
|
|
Loading…
Reference in New Issue