diff --git a/php-82/Dockerfile b/php-82/Dockerfile index 5cc4759a..ce16612c 100644 --- a/php-82/Dockerfile +++ b/php-82/Dockerfile @@ -179,6 +179,7 @@ RUN set -xe; \ # Install extensions # We can install extensions manually or using `pecl` RUN pecl install APCu +RUN pecl install redis-6.2.0 # --------------------------------------------------------------- diff --git a/php-83/Dockerfile b/php-83/Dockerfile index cabc04e1..0cfac124 100644 --- a/php-83/Dockerfile +++ b/php-83/Dockerfile @@ -179,6 +179,7 @@ RUN set -xe; \ # Install extensions # We can install extensions manually or using `pecl` RUN pecl install APCu +RUN pecl install redis-6.2.0 # --------------------------------------------------------------- diff --git a/php-84/Dockerfile b/php-84/Dockerfile index acfe8bd0..d835bbf5 100644 --- a/php-84/Dockerfile +++ b/php-84/Dockerfile @@ -178,6 +178,7 @@ RUN set -xe; \ # Install extensions # We can install extensions manually or using `pecl` RUN pecl install APCu +RUN pecl install redis-6.2.0 # --------------------------------------------------------------- diff --git a/php-85/Dockerfile b/php-85/Dockerfile index 53b19b77..81c2ce2a 100644 --- a/php-85/Dockerfile +++ b/php-85/Dockerfile @@ -178,6 +178,8 @@ RUN set -xe; \ # Install extensions # We can install extensions manually or using `pecl` RUN pecl install APCu +# TODO not available for PHP 8.5 yet +#RUN pecl install redis-6.2.0 # --------------------------------------------------------------- diff --git a/tests/test_2_extensions.php b/tests/test_2_extensions.php index 9fb8c5ed..41a627f7 100644 --- a/tests/test_2_extensions.php +++ b/tests/test_2_extensions.php @@ -146,6 +146,7 @@ 'intl' => class_exists(\Collator::class), 'apcu' => function_exists('apcu_add'), 'soap' => class_exists(\SoapClient::class), + 'redis' => class_exists(\Redis::class), ]; foreach ($extensionsDisabledByDefault as $extension => $test) { if ($test) { diff --git a/tests/test_3_manual_enabling_extensions.php b/tests/test_3_manual_enabling_extensions.php index 28927fc8..661125e6 100644 --- a/tests/test_3_manual_enabling_extensions.php +++ b/tests/test_3_manual_enabling_extensions.php @@ -6,6 +6,8 @@ 'intl' => class_exists(\Collator::class), 'apcu' => function_exists('apcu_add'), 'soap' => class_exists(\SoapClient::class), + // TODO redis is not available on PHP 8.5 yet + 'redis' => PHP_VERSION_ID >= 80500 ? true : class_exists(\Redis::class), ]; $extensionDir = ini_get('extension_dir'); diff --git a/tests/test_3_manual_extensions.ini b/tests/test_3_manual_extensions.ini index beb8a787..13a22503 100644 --- a/tests/test_3_manual_extensions.ini +++ b/tests/test_3_manual_extensions.ini @@ -1,3 +1,4 @@ extension=intl extension=apcu extension=soap +extension=redis