it gives me this error when i put laravel on apache server
The stream or file “/var/www/app/storage/logs/laravel-2019-01-02.log” could not be opened: failed to open stream: Permission denied
i have tried everything i set permission to 777 and set owner to root and i try permission 775 also didnot work can any one help me with this…?
note: i am working on apache server on CentOS7
2
Answers
i fix it... after using this command i still didnot know what is the reason 1.cd /var/www/html 2.setenforce 0 3.service httpd restart
It’s a permission issue:
Just Open Your CMD -> Go to your project folder -> Run the following command: