From d9ac72aa7079c234f9449d26f18da2dda5ee29c2 Mon Sep 17 00:00:00 2001 From: Michele Locati Date: Sun, 10 Jan 2021 13:31:36 +0100 Subject: [PATCH] Fix installing swoole with PHP 7.1 Test: swoole --- install-php-extensions | 2 ++ 1 file changed, 2 insertions(+) diff --git a/install-php-extensions b/install-php-extensions index 6883f80..989f47e 100755 --- a/install-php-extensions +++ b/install-php-extensions @@ -1732,6 +1732,8 @@ installRemoteModule() { installRemoteModule_version=2.0.11 elif test $PHP_MAJMIN_VERSION -le 700; then installRemoteModule_version=4.3.6 + elif test $PHP_MAJMIN_VERSION -le 701; then + installRemoteModule_version=4.5.10 fi fi if php --ri sockets >/dev/null 2>/dev/null; then