Laravel permission issue in windows [closed]

余生颓废 提交于 2019-12-11 09:58:30

问题


  • I downloaded the laravel from server to my local windows8 xampp->htdocs folder. Below is the error i am getting.

Error in exception handler: The stream or file "C:\xampp\htdocs\laravel\app\storage/logs/log-apache2handler-2014-12-11.txt" could not be opened: failed to open stream: Permission denied in C:\xampp\htdocs\laravel\vendor\monolog\monolog\src\Monolog\Handler\StreamHandler.php:77

I tried to give the permissions full permissions in security->full control but not changing. What should i do to solve this issue


I am using windows 8 with xampp latest version 3.2.1


回答1:


Make sure you are an admin user on that computer.




回答2:


The entire app\storage folder and its contents (including sub directories) must be writeable by the user which owns the Apache process (or everyone if you're in a testing environment)



来源:https://stackoverflow.com/questions/27428444/laravel-permission-issue-in-windows

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!