Skip to content

Commit b152028

Browse files
committed
Remove redis from PHP 8.5 for now
1 parent 284de9a commit b152028

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

php-85/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,8 @@ RUN set -xe; \
178178
# Install extensions
179179
# We can install extensions manually or using `pecl`
180180
RUN pecl install APCu
181-
RUN pecl install redis-6.2.0
181+
# TODO not available for PHP 8.5 yet
182+
#RUN pecl install redis-6.2.0
182183

183184

184185
# ---------------------------------------------------------------

tests/test_3_manual_enabling_extensions.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
'intl' => class_exists(\Collator::class),
77
'apcu' => function_exists('apcu_add'),
88
'soap' => class_exists(\SoapClient::class),
9-
'redis' => class_exists(\Redis::class),
9+
// TODO redis is not available on PHP 8.5 yet
10+
'redis' => PHP_VERSION_ID >= 80500 ? true : class_exists(\Redis::class),
1011
];
1112

1213
$extensionDir = ini_get('extension_dir');

0 commit comments

Comments
 (0)