Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"Error in exception handler" seen on fresh install

Tags:

php

nginx

laravel

Just installed by the spec of the doc's larval. I am running on Ubuntu with Nginx as my server. Once I got it installed all I see is a white page and nothing else other than the words

Error in exception handler

In my actual error logs I see

Options FollowSymLinks or SymLinksIfOwnerMatch is off which implies that RewriteRule directive is forbidden: /var/www/vhosts/dir/dir/dir/dir.com/public/index.pl

note: that I replaced the dir path here, with dir/dir/dir/dir...

Neither of which lead me to any conclusive examples of how to fix it or trouble shoot it. Soo. I am coming here hoping someone can help me solve this so I can attempt to use Laravel

like image 617
chris Avatar asked Apr 21 '26 12:04

chris


1 Answers

Ok, I am sure this will not answer everyones question to this problem, nor is it a solution I am fully happy with. I will have to research my server a little more for a better answer.

All in all what I ended up finding out through some digging is a particular directory needed to have write access. So for me to do that with my current server settings was to

sudo chmod -R guo+w app/storage

from the command line to allow global write privileges to the app/storage directory

like image 125
chris Avatar answered Apr 24 '26 00:04

chris