1
0
Fork 0
mirror of https://github.com/mlocati/docker-php-extension-installer synced 2025-05-09 08:32:42 +00:00

Fix installing openswoole on PHP 7.3- (#545)

Test: openswoole
This commit is contained in:
Michele Locati 2022-03-28 09:17:33 +02:00 committed by GitHub
parent b2582fc69e
commit 9f2bd2e20d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2676,6 +2676,11 @@ installRemoteModule() {
fi
;;
openswoole)
if test -z "$installRemoteModule_version"; then
if test $PHP_MAJMIN_VERSION -lt 704; then
installRemoteModule_version=4.10.0
fi
fi
if php --ri sockets >/dev/null 2>/dev/null; then
installRemoteModule_sockets=yes
else