问题
- 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