Heim  >  Fragen und Antworten  >  Hauptteil

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

ErrorException in Filesystem.php line 81:
file_put_contents(/f3066c7346d5b050360486339b8015a1): failed to open stream: Permission denied
迷茫迷茫2721 Tage vor2592

Antworte allen(2)Ich werde antworten

  • 阿神

    阿神2017-04-10 15:51:11

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

    Antwort
    0
  • 伊谢尔伦

    伊谢尔伦2017-04-10 15:51:11

    make sure :

    sudo chmod -R 775 storage/
    
    

    then try :

    php artisan cache:clear
    
    

    Hope that works. Happy Hacking

    Antwort
    0
  • StornierenAntwort