개발을 간바루Joy 하게

라라벨 로그 파일 권한(laravel log filfe poermission)문제 해결 본문

프로그래밍/Error

라라벨 로그 파일 권한(laravel log filfe poermission)문제 해결

New! Game 2020. 6. 21. 17:37

The stream or file "/home/chinokawai/storage/logs/laravel.log" could not be opened: failed to open stream: Permission denied

 

라라벨 설치이후 다음과 같은 에러가 나올때가 있습니다.

 

$ sudo chown -R nginx:nginx storage bootstrap/cache

다음과 같은 명령어를 입력해줍니다