当前位置:Gxlcms > PHP教程 > php的lavarel报错ErrorExceptioninFilesystem.phpline81:

php的lavarel报错ErrorExceptioninFilesystem.phpline81:

时间:2021-07-01 10:21:17 帮助过:5人阅读

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

人气教程排行