From 9f2bd2e20d01b63a75f8b17078565add9e00882c Mon Sep 17 00:00:00 2001 From: Michele Locati Date: Mon, 28 Mar 2022 09:17:33 +0200 Subject: [PATCH] Fix installing openswoole on PHP 7.3- (#545) Test: openswoole --- install-php-extensions | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/install-php-extensions b/install-php-extensions index f37b859..1f7ef5f 100755 --- a/install-php-extensions +++ b/install-php-extensions @@ -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