gpt4 book ai didi

session - 在 Laravel 中使用 Redis 持久化闪存数据

转载 作者:可可西里 更新时间:2023-11-01 11:48:38 25 4
gpt4 key购买 nike

我在 Laravel 4.2 稳定版中使用 Redis 作为 session 驱动程序。

自从今天早上,在我获得composer 更新 之后, session 中的闪存数据就不会自毁了。他们很执着。但是,如果我从 redis 切换到 file session 驱动程序,它们就会正常工作。这些是更新的包:

composer update
Loading composer repositories with package information
Updating dependencies (including require-dev)
- Removing symfony/finder (v2.5.3)
- Installing symfony/finder (v2.5.4)
Downloading: 100%

- Removing symfony/translation (v2.5.3)
- Installing symfony/translation (v2.5.4)
Downloading: 100%

- Removing symfony/security-core (v2.5.3)
- Installing symfony/security-core (v2.5.4)
Downloading: 100%

- Removing symfony/routing (v2.5.3)
- Installing symfony/routing (v2.5.4)
Downloading: 100%

- Removing symfony/process (v2.5.3)
- Installing symfony/process (v2.5.4)
Downloading: 100%

- Removing symfony/http-foundation (v2.5.3)
- Installing symfony/http-foundation (v2.5.4)
Downloading: 100%

- Removing symfony/event-dispatcher (v2.5.3)
- Installing symfony/event-dispatcher (v2.5.4)
Loading from cache

- Removing symfony/debug (v2.5.3)
- Installing symfony/debug (v2.5.4)
Loading from cache

- Removing symfony/http-kernel (v2.5.3)
- Installing symfony/http-kernel (v2.5.4)
Downloading: 100%

- Removing symfony/dom-crawler (v2.5.3)
- Installing symfony/dom-crawler (v2.5.4)
Downloading: 100%

- Removing symfony/css-selector (v2.5.3)
- Installing symfony/css-selector (v2.5.4)
Downloading: 100%

- Removing symfony/console (v2.5.3)
- Installing symfony/console (v2.5.4)
Downloading: 100%

- Removing symfony/browser-kit (v2.5.3)
- Installing symfony/browser-kit (v2.5.4)
Loading from cache

- Removing nesbot/carbon (1.11.0)
- Installing nesbot/carbon (1.12.0)
Downloading: 100%

- Removing symfony/filesystem (v2.5.3)
- Installing symfony/filesystem (v2.5.4)
Downloading: 100%

- Removing barryvdh/laravel-debugbar (v1.6.8)
- Installing barryvdh/laravel-debugbar (v1.7.5)
Downloading: 100%

- Removing guzzlehttp/guzzle (4.2.1)
- Installing guzzlehttp/guzzle (4.2.2)
Downloading: 100%

- Removing symfony/class-loader (v2.5.3)
- Installing symfony/class-loader (v2.5.4)
Downloading: 100%

- Removing bkwld/croppa (dev-master 6882599)
- Installing bkwld/croppa (dev-master f38d935)
Downloading: 100%

- Removing way/generators (dev-master 5edee3a)
- Installing way/generators (dev-master 27a8d2e)
Downloading: 100%

Writing lock file
Generating autoload files
Generating optimized class loader

在上次 composer 更新之前一切正常。

有没有人遇到过这种情况?如果是这样,我该如何解决?

注意:将缓存和 session 驱动程序更改为文件可以正常工作,但我需要 redis。

提前致谢

最佳答案

仅供引用,几天后 Composer 更新后已修复。这可能是一个 symfony 组件错误。

关于session - 在 Laravel 中使用 Redis 持久化闪存数据,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25805826/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com