Qiita Teams that are logged in
You are not logged in to any team

Log in to Qiita Team
Community
OrganizationEventAdvent CalendarQiitadon (β)
Service
Qiita JobsQiita ZineQiita Blog
11
Help us understand the problem. What is going on with this article?

More than 3 years have passed since last update.

@naka46

laravel & vue.js エラー解消方法

アクセスしたらエラー

エラー内容

The stream or file "/var/www/html/sample/storage/logs/laravel.log"
could not be opened: failed to open stream: Permission denied

解消方法

chmod 777 storage/logs

アクセスしたらエラー2

エラー内容

file_put_contents(/var/www/html/sample/storage/framework/sessions/Q42lrnTVyYSWv3PY8x4U27V5PLwD8d1qoX5EQ51c):
failed to open stream: Permission denied

解消方法

chmod 777 storage/framework/sessions/

アクセスしたらエラー3

エラー内容

file_put_contents(/var/www/html/sample/storage/framework/views/1ce3e04b775dbb480db046db9ec317424bc554f2.php):
failed to open stream: Permission denied

解消方法

chmod 777 storage/framework/views/

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
11
Help us understand the problem. What is going on with this article?