Rex Rex
Rex Rex

Reputation: 1030

Permission denied error laravel

When i try run my laravel 5.2 application iam facing this issue

 ErrorException in Filesystem.php line 109:
file_put_contents(/91d1527fa409639235e4cf4fb0164907d94d4dce.php): failed to open stream: Permission denied

i gave full permission to my laravel folder and storage folder.But Still facing this issue.Iam Using Ubuntu Os

Upvotes: 0

Views: 1042

Answers (1)

Achraf Khouadja
Achraf Khouadja

Reputation: 6269

You have a missing folder in your storage foler you have to create

make sure you have this

navigate to storage/framework // if you dont have the framework folder create it

and create an empty folder called views

Done

Why you have the error? Because the app is trying to generate/create a View in a folder that does not exist

Upvotes: 2

Related Questions