php 的 lavarel 报错ErrorException in Filesystem.php line 81:
程序员文章站
2023-12-22 13:54:10
...
ErrorException in Filesystem.php line 81:
file_put_contents(/f3066c7346d5b050360486339b8015a1): failed to open stream: Permission denied
回复内容:
ErrorException in Filesystem.php line 81:
file_put_contents(/f3066c7346d5b050360486339b8015a1): failed to open stream: Permission denied
检查一下文件系统的权限,这是因为在往文件系统写入文件的时候没有权限。
make sure :
sudo chmod -R 775 storage/
then try :
php artisan cache:clear
Hope that works. Happy Hacking