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

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

WBOY
WBOYOriginal
2016-06-06 20:31:042002browse

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

回复内容:

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

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

make sure :

<code>sudo chmod -R 775 storage/

</code>

then try :

<code>php artisan cache:clear

</code>

Hope that works. Happy Hacking

Statement:
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