LoginSignup
7
0

More than 1 year has passed since last update.

The stream or file "/var/www/storage/logs/laravel.log" could not be opened in append mode: failed to open stream: Permission deniedではまった件

Posted at

laradockにlaravelプロジェクトを立ち上げ、ワクワクしながらアクセスすると
スクリーンショット (1627).png

( д) ゚ ゚

どうやらstorrage/logs/laravel.logにアクセスする権限がないことらしい
ググっても英語の記事ばかりでよくわからない

解決法

chmod -R 777 storage bootstrap/cache

を打ち込んで解決しました

スクリーンショット (1629).png

感想

1時間も調べたのに解決があっさり過ぎて、これがプログラミングかと思ったよ・・・

関連記事

7
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
7
0