Fix installing openswoole on PHP 7.3- (#545)

Test: openswoole
pull/547/head 1.5.1
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
1 changed files with 5 additions and 0 deletions

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