Merge pull request #245 from mlocati/swoole-php7.1

Fix installing swoole with PHP 7.1
pull/246/head 1.1.30
Michele Locati 2021-01-10 14:13:25 +01:00 committed by GitHub
commit bba413a175
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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