session 存储问题
session 存储不适用于我的 Laravel 5。使用它一个月没有问题。但是自从最近上传到网络服务器后,我在每个页面上都得到了以下响应。
ErrorException in Filesystem.php line 74:
file_put_contents(): Exclusive locks are not supported for this stream
网上很多帖子都表示要删除对
的引用$lock on line 74 in Filesystem.php
似乎是一个快速修复,但会导致其他问题...
我该如何解决根本原因?
引用文献
https://stackoverflow.com/questions/29023948/laravel-5-file-put-contents-exclusive-locks-are-not-supported-for-this-stre https://laracasts.com/discuss/channels/general-discussion/l5-new-install-error
最佳答案
更新后做
chmod -R gu+w storage
chmod -R guo+w storage
php artisan cache:clear
关于php - Filesystem.php 中的 ErrorException,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29169892/