Rex Rex Rex Rex - 9 months ago 249
PHP Question

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


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


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