mirror of
https://github.com/devilbox/docker-php-fpm.git
synced 2026-01-10 09:54:43 +00:00
Fix Redis for PHP 8.0
This commit is contained in:
@@ -833,6 +833,10 @@ extensions_available:
|
||||
# TODO: This is a nasty work-around to fix current phpredis implementation for PHP 8.0
|
||||
command: |
|
||||
sed -i'' 's/, ZSTR_LEN(ra->algorithm)//g' redis_array_impl.c \
|
||||
&& sed -i'' 's|.*sctx->cb\.no_separation.*||g' library.c \
|
||||
&& sed -i'' 's|.*sctx->cb\.no_separation.*||g' redis_array_impl.c \
|
||||
&& sed -i'' 's|.*sctx->cb\.no_separation.*||g' cluster_library.c \
|
||||
&& sed -i'' 's|.*->no_separation.*||g' redis_array_impl.c \
|
||||
&& phpize \
|
||||
&& ./configure --enable-redis \
|
||||
&& make -j$(getconf _NPROCESSORS_ONLN) \
|
||||
|
||||
Reference in New Issue
Block a user