From ac98842ec7d00fd2371ad3630bc368cb8f3d0175 Mon Sep 17 00:00:00 2001 From: Michele Locati Date: Fri, 12 Jan 2024 00:51:38 +0100 Subject: [PATCH] solr: add support for PHP 8.3, fix installing on PHP 7.0/7.1/7.2/7.3 (#863) --- data/supported-extensions | 2 +- install-php-extensions | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/data/supported-extensions b/data/supported-extensions index 5c268c7..ca3b7ce 100644 --- a/data/supported-extensions +++ b/data/supported-extensions @@ -102,7 +102,7 @@ snuffleupagus 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 soap 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 sockets 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 sodium 5.6 7.0 7.1 -solr 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 +solr 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 sourceguardian 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 spx 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 sqlsrv 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 diff --git a/install-php-extensions b/install-php-extensions index eca7df2..9980bc5 100755 --- a/install-php-extensions +++ b/install-php-extensions @@ -3572,8 +3572,10 @@ installRemoteModule() { ;; solr) if test -z "$installRemoteModule_version"; then - if test $PHP_MAJMIN_VERSION -le 506; then + if test $PHP_MAJMIN_VERSION -lt 700; then installRemoteModule_version=2.4.0 + elif test $PHP_MAJMIN_VERSION -lt 704; then + installRemoteModule_version=2.6.0 fi fi ;;