required VS 2022
-- skip if u have installed php-sdk
git clone --depth 1 --branch php-sdk-2.7.1 https://github.com/php/php-sdk-binary-tools.git php-sdk
php-sdk\phpsdk-vs17-x64.bat
-- get 8.5 src
git clone --depth 1 --branch php-8.5.7 https://github.com/php/php-src.git
cd php-src\ext
git clone --depth 1 --branch 6.3.0 --recurse-submodules https://github.com/phpredis/phpredis.git
cd ..
buildconf
-- buid ThreadSafe version
configure --disable-all --enable-cli --enable-session --enable-redis=shared --enable-redis-session --enable-redis-igbinary
nmake
--buid NonThreadSafe version
configure --disable-zts --disable-all --enable-cli --enable-session --enable-redis=shared --enable-redis-session --enable-redis-igbinary
nmake
php-src/x64/Release/php_redis.dll
php-src/x64/Release_TS/php_redis.dll
PHP 8.5 php_redis.dll (8.5.7)
php_redis-6.3.0-8.5-nts-vs17-x64.zip
php_redis-6.3.0-8.5-ts-vs17-x64.zip