From 2a4168f26b9496ddaed6f8a1a8392b62927e5ffd Mon Sep 17 00:00:00 2001 From: Laurent Laville Date: Wed, 29 Sep 2021 09:18:17 +0200 Subject: [PATCH] Support uploadprogress for PHP 8.0 (#445) --- data/supported-extensions | 2 +- install-php-extensions | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/data/supported-extensions b/data/supported-extensions index 739d623..ba6fb60 100644 --- a/data/supported-extensions +++ b/data/supported-extensions @@ -96,7 +96,7 @@ 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 8.1 timezonedb 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 uopz 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 -uploadprogress 5.5 5.6 7.0 7.1 7.2 7.3 7.4 +uploadprogress 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 uuid 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 vips 7.0 7.1 7.2 7.3 7.4 8.0 8.1 wddx 5.5 5.6 7.0 7.1 7.2 7.3 diff --git a/install-php-extensions b/install-php-extensions index 4b977d2..90a3640 100755 --- a/install-php-extensions +++ b/install-php-extensions @@ -2508,6 +2508,13 @@ installRemoteModule() { fi fi ;; + uploadprogress) + if test -z "$installRemoteModule_version"; then + if test $PHP_MAJMIN_VERSION -le 701; then + installRemoteModule_version=1.1.4 + fi + fi + ;; uuid) if test -z "$installRemoteModule_version"; then if test $PHP_MAJMIN_VERSION -le 506; then