Support the ongoing development of Laravel.io →
Installation
Last updated 2 years ago.
0

I am having the same issue. Were you able to resolve it?

EDIT:

I resolved it by locating the "storage" folder in the laravel app and changing it's permissions.

'chmod -R o+w storage'

Last updated 2 years ago.
0

You're running in the production environment by default which doesn't display much debugging information. Read a bit on setting up your environment properly by reading http://laravel.com/docs/configuration#environment-configuration (especially the part about setting environment detection). This way you'll get better debugging information.

Last updated 2 years ago.
0

I had this problem when I installed Laravel outside of my apache document root. I installed the application under my home directory. The problem was apache couldn't write (and in some cases maybe couldn't read) some files, because they were owned by me. (I was running it at localhost:80, not with artisan serve at port 8000) I didn't want to do a recursive chown to www-data in my local dir, because then my IDE can't save the files. Here was my solution:
At the project directory, run

   sudo chown -R your_user_id:www-data *

This keeps you as the user, and changes the group so apache can write.
You might have to give group write permission, so do:

   sudo chmod -R g+w ./*

You have arrived.

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.