Frage

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

War es hilfreich?

Lösung

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

Andere Tipps

I generally the artisan serve with sudo. This will give artisan all the permissions it needs and won't make any security troubles as well.

so instead starting artisan serve with:

$ php artisan serve

try using:

$ sudo php artisan serve 

thus you wont have to make any permission changes

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top