UnexpectedValueException The stream or file "/opt/lampp/htdocs/laravelproject/storage/logs/laravel.log" could not be opened: failed to open stream: Permission denied

UnexpectedValueException The stream or file "/opt/lampp/htdocs/laravelproject/storage/logs/laravel.log" could not be opened: failed to open stream: Permission denied
0.0 0

#1

UnexpectedValueException The stream or file “/opt/lampp/htdocs/laravelproject/storage/logs/laravel.log” could not be opened: failed to open stream: Permission denied

I have put my laravel project in htdocs file and when I open http://192.168.64.2/laravelproject/public/ this error is showing up.


#2

No one but you can open that url you linked, because it is local your computer.


#3

Is it also possible to run laravel (folder is saved on my desktop) via terminal php artisan serve and run xampp phpadmin. Or do I have to place that folder in htdocs?