LoginSignup
1
0

More than 5 years have passed since last update.

lumenでviewにbladeを使おうとおもったらlumen.logのパーミッションエラー。

Last updated at Posted at 2018-07-09

lumenでviewにbladeを使おうとおもったらでたエラー。

PHP Fatal error: Uncaught UnexpectedValueException: The stream or file "myapp/storage/logs/lumen.log" could not be opened: failed to open stream: Permission denied

解決した方法

php artisan cache:clear 
chmod -R 777 storage/
composer dump-autoload

php artisan cache:clear キャッシュ削除する  
chmod -R 777 storage/ パーミッション変更する
composer dump-autoload オートロードを再実行する

宿題

オートロードが何をしてるか調べる。

1
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
1
0