Uploading images in Production
Hi.
I am trying to upload images to my app in production. I can see the images being stored in the
livewire-tmp
folder but when Its trying to save it to the public disk, It throws me a 500 error. Below is my code and the response and errors.
Code:
Any help appreciated.
Thanks.

2 Replies
This is my error log frmo laravel.log
It's possible that there is a permission issue in the folders. You could try this solution to see if it resolves the problem.
https://stackoverflow.com/questions/30639174/how-to-set-up-file-permissions-for-laravel
Stack Overflow
How to set up file permissions for Laravel?
I'm using Apache Web Server that has the owner set to _www:_www. I never know what is the best practice with file permissions, for example when I create new Laravel 5 project.
Laravel 5 requires /