Fix installing swoole with PHP 7.1

Test: swoole
pull/245/head
Michele Locati 2021-01-10 13:31:36 +01:00
parent 2041514c21
commit d9ac72aa70
No known key found for this signature in database
GPG Key ID: 98B7CE2E7234E28B
1 changed files with 2 additions and 0 deletions

View File

@ -1732,6 +1732,8 @@ installRemoteModule() {
installRemoteModule_version=2.0.11 installRemoteModule_version=2.0.11
elif test $PHP_MAJMIN_VERSION -le 700; then elif test $PHP_MAJMIN_VERSION -le 700; then
installRemoteModule_version=4.3.6 installRemoteModule_version=4.3.6
elif test $PHP_MAJMIN_VERSION -le 701; then
installRemoteModule_version=4.5.10
fi fi
fi fi
if php --ri sockets >/dev/null 2>/dev/null; then if php --ri sockets >/dev/null 2>/dev/null; then