Last active
July 13, 2018 08:52
-
-
Save hisanari/010a81006b1a9e6aa105a16bb9191d62 to your computer and use it in GitHub Desktop.
lumenでviewにbladeを使おうとおもったらlumen.logのパーミッションエラー。 ref: https://qiita.com/yowayowa/items/9cf580a48bc9595df50d
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PHP Fatal error: Uncaught UnexpectedValueException: The stream or file "myapp/storage/logs/lumen.log" could not be opened: failed to open stream: Permission denied |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
php artisan cache:clear | |
chmod -R 777 storage/ | |
composer dump-autoload |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment