Support redis with PHP 8
parent
b3c4a238c1
commit
3c272ff906
|
@ -53,7 +53,7 @@ pthreads 5.5 5.6 7.0
|
|||
raphf 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0
|
||||
rdkafka 5.5 5.6 7.0 7.1 7.2 7.3 7.4
|
||||
recode 5.5 5.6 7.0 7.1 7.2 7.3
|
||||
redis 5.5 5.6 7.0 7.1 7.2 7.3 7.4
|
||||
redis 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0
|
||||
shmop 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0
|
||||
snuffleupagus 7.0 7.1 7.2 7.3 7.4
|
||||
snmp 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0
|
||||
|
|
|
@ -1239,6 +1239,18 @@ installPECLModule() {
|
|||
fi
|
||||
;;
|
||||
redis)
|
||||
if test $PHP_MAJMIN_VERSION -ge 800; then
|
||||
installPECLModule_src="$(getPackageSource https://codeload.github.com/phpredis/phpredis/tar.gz/develop)"
|
||||
cd -- "$installPECLModule_src"
|
||||
installPECLModule_cmd='./configure'
|
||||
php --ri igbinary >/dev/null 2>/dev/null && installPECLModule_cmd="$installPECLModule_cmd --enable-redis-igbinary"
|
||||
phpize
|
||||
$installPECLModule_cmd
|
||||
make -j$(nproc)
|
||||
make install
|
||||
cd - >/dev/null
|
||||
installPECLModule_manuallyInstalled=1
|
||||
else
|
||||
# enable igbinary serializer support?
|
||||
php --ri igbinary >/dev/null 2>/dev/null && installPECLModule_stdin='yes\n' || installPECLModule_stdin='no\n'
|
||||
# enable lzf compression support?
|
||||
|
@ -1264,6 +1276,7 @@ installPECLModule() {
|
|||
# enable zstd compression support?
|
||||
installPECLModule_stdin="${installPECLModule_stdin}yes\n"
|
||||
fi
|
||||
fi
|
||||
;;
|
||||
solr)
|
||||
if test $PHP_MAJMIN_VERSION -le 506; then
|
||||
|
|
Loading…
Reference in New Issue