I have WordPress installed on the root of my server, and I have a subfolder where Laravel is installed using the official Laravel installer. When I try to access using http://localhost/Laravel/ , I get a Http 500
Status Code
I tried the following:
sudo chown www-data:www-data -R *
find . -type d -exec chmod 755 {} \;
find . -type f -exec chmod 644 {} \;
I have also set Laravel/config/app.php
to:
'debug' => env('APP_DEBUG', true),
and'url' => env('APP_URL', 'http://localhost/Laravel
but I still get 500
.
I've also seen this question, but in my case it is the other way around. I have Wordpress and Laravel as a subfolder as opposed to the case in this question.