@@ -36,6 +36,7 @@ $PHP_VANILLAGENERATOR_VER="2.1.7"
3636$PHP_LIBKAFKA_VER = " 6.0.4"
3737$PHP_ZSTD_VER = " 0.15.2"
3838$PHP_GRPC_VER = " 1.76.0"
39+ $PHP_REDIS_VER = " 6.3.0"
3940
4041$PHP_IGBINARY_VER_PHP85 = " 3.2.17RC1"
4142
@@ -693,6 +694,7 @@ function download-php-extensions {
693694 get-github - extension " rdkafka" $PHP_LIBKAFKA_VER " arnaud-lb" " php-rdkafka"
694695 get-github - extension " zstd" $PHP_ZSTD_VER " kjdev" " php-ext-zstd"
695696 get-github - extension " grpc" $PHP_GRPC_VER " larryTheCoder" " php-grpc"
697+ get-github - extension " phpredis" $PHP_REDIS_VER " phpredis" " phpredis"
696698
697699 # Vanilla generator depend on this folder, the compiler will not be able
698700 # to find these dependencies if the folder name were to change
@@ -786,6 +788,7 @@ sdk-command "configure^`
786788 --enable-opcache^`
787789 --enable-opcache-jit=$PHP_JIT_ENABLE_ARG ^`
788790 --enable-phar^`
791+ --enable-redis=shared^`
789792 --enable-vanillagenerator=shared^`
790793 --enable-zstd^`
791794 --enable-snappy^`
@@ -880,6 +883,7 @@ append-file-utf8 "extension=php_chunkutils2.dll" $php_ini
880883append- file- utf8 " extension=php_igbinary.dll" $php_ini
881884append- file- utf8 " extension=php_leveldb.dll" $php_ini
882885append- file- utf8 " extension=php_crypto.dll" $php_ini
886+ append- file- utf8 " extension=php_redis.dll" $php_ini
883887append- file- utf8 " extension=php_libdeflate.dll" $php_ini
884888append- file- utf8 " extension=php_encoding.dll" $php_ini
885889append- file- utf8 " igbinary.compact_strings=0" $php_ini
0 commit comments