From f93b8770e1450511f16c4ffecdff6f915985ab60 Mon Sep 17 00:00:00 2001 From: Michele Locati Date: Tue, 25 May 2021 09:12:08 +0200 Subject: [PATCH] Add support for Tensor with PHP 8 --- data/supported-extensions | 2 +- install-php-extensions | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/data/supported-extensions b/data/supported-extensions index 6f4f5e3..35788a3 100644 --- a/data/supported-extensions +++ b/data/supported-extensions @@ -84,7 +84,7 @@ sybase_ct 5.5 5.6 sysvmsg 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 sysvsem 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 sysvshm 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 -tensor 7.2 7.3 7.4 +tensor 7.2 7.3 7.4 8.0 tidy 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 timezonedb 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 uopz 5.5 5.6 7.0 7.1 7.2 7.3 7.4 diff --git a/install-php-extensions b/install-php-extensions index 088b320..ec025c9 100755 --- a/install-php-extensions +++ b/install-php-extensions @@ -2136,6 +2136,15 @@ installRemoteModule() { rm "$PHP_INI_DIR/conf.d/tdlib.ini" installRemoteModule_manuallyInstalled=1 ;; + tensor) + if test -z "$installRemoteModule_version"; then + if test $PHP_MAJMIN_VERSION -le 703; then + installRemoteModule_version=2.2.3 + elif test $PHP_MAJMIN_VERSION -ge 800; then + installRemoteModule_version=beta + fi + fi + ;; uopz) if test -z "$installRemoteModule_version"; then if test $PHP_MAJMIN_VERSION -le 506; then