From 51711dcb45358d5c5e316850ca6ab822141b6926 Mon Sep 17 00:00:00 2001 From: Michele Locati Date: Thu, 15 Sep 2022 16:29:00 +0200 Subject: [PATCH] Fix installing mailparse on PHP 7.2- (#631) --- install-php-extensions | 2 ++ 1 file changed, 2 insertions(+) diff --git a/install-php-extensions b/install-php-extensions index 7be4059..0e83bd5 100755 --- a/install-php-extensions +++ b/install-php-extensions @@ -2787,6 +2787,8 @@ installRemoteModule() { if test -z "$installRemoteModule_version"; then if test $PHP_MAJMIN_VERSION -le 506; then installRemoteModule_version=2.1.6 + elif test $PHP_MAJMIN_VERSION -le 702; then + installRemoteModule_version=3.1.3 fi fi ;;