Home > Backend Development > PHP Tutorial > php 的 lavarel 报错ErrorException in Filesystem.php line 81:

php 的 lavarel 报错ErrorException in Filesystem.php line 81:

WBOY
Release: 2016-06-06 20:31:04
Original
2019 people have browsed it

<code>ErrorException in Filesystem.php line 81:
file_put_contents(/f3066c7346d5b050360486339b8015a1): failed to open stream: Permission denied
</code>
Copy after login
Copy after login

回复内容:

<code>ErrorException in Filesystem.php line 81:
file_put_contents(/f3066c7346d5b050360486339b8015a1): failed to open stream: Permission denied
</code>
Copy after login
Copy after login

检查一下文件系统的权限,这是因为在往文件系统写入文件的时候没有权限。

make sure :

<code>sudo chmod -R 775 storage/

</code>
Copy after login

then try :

<code>php artisan cache:clear

</code>
Copy after login

Hope that works. Happy Hacking

Related labels:
php
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template