Fix installing HTTP extension with PHP 7.x

Test: http
pull/259/head
Michele Locati 2021-01-17 15:48:53 +01:00
parent aeb20d355b
commit fdabd380c4
No known key found for this signature in database
GPG Key ID: 98B7CE2E7234E28B
1 changed files with 2 additions and 0 deletions

View File

@ -1492,6 +1492,8 @@ installRemoteModule() {
if test -z "$installRemoteModule_version"; then if test -z "$installRemoteModule_version"; then
if test $PHP_MAJMIN_VERSION -le 506; then if test $PHP_MAJMIN_VERSION -le 506; then
installRemoteModule_version=2.6.0 installRemoteModule_version=2.6.0
elif test $PHP_MAJMIN_VERSION -le 704; then
installRemoteModule_version=3.2.4
fi fi
fi fi
if test $PHP_MAJMIN_VERSION -ge 700; then if test $PHP_MAJMIN_VERSION -ge 700; then