You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To recreate I did composer create-project laravel/laravel:^11 . in a new directory. Then I added a docker-compose.yml and Dockerfile to it along with some examples in routes/web.php.
Laravel Version
11.9
PHP Version
Docker/Linux php:8.3.7-fpm-bookworm
Database Driver & Version
N/A
Description
OS: Docker / Linux
PHP: 8.3.7
Laravel: 11.9
Redis server: 7.4
phpredis: 6.1.0
The latest version of phpredis (6.1.0) has been changed to use an unsigned 64-bit cursor.
See phpredis/phpredis#2458 and phpredis/phpredis#2462.
There is a bug report here phpredis/phpredis#2562, but this is intended behaviour going forward.
This means it breaks tagged caching on redis.
This is the line causing the issue with the latest version of the extension: https://github.com/laravel/framework/blob/master/src/Illuminate/Cache/RedisStore.php#L298
Also this is breaking the entries https://github.com/laravel/framework/blob/master/src/Illuminate/Cache/RedisTagSet.php#L40
Steps To Reproduce
To recreate I did
composer create-project laravel/laravel:^11 .
in a new directory. Then I added a docker-compose.yml and Dockerfile to it along with some examples inroutes/web.php
.The problem is shown in this repo: https://github.com/scottasmith/laravel-phpredis-problems
If you clone it, run
docker compose up -d
and navigate to the urls in https://github.com/scottasmith/laravel-phpredis-problems/blob/main/routes/web.php.http://localhost:8001/not-working
shows phpredis and how laravel currently workshttp://localhost:8001/working
shows phpredis and how laravel should work (with this version)http://localhost:8001/laravel-failing
demonstrates that the flush isn't workinghttp://localhost:8001/laravel-entries
shows its not getting the entries for the flushThe text was updated successfully, but these errors were encountered: