Merge pull request #259 from mlocati/fix-http

Fix installing HTTP extension with PHP 7.x
pull/262/head 1.1.40
Michele Locati 2021-01-17 16:04:28 +01:00 committed by GitHub
commit b584914887
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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