简体   繁体   中英

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

Done

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM