I have a problem with saving files (photos) with laravel in a web hosting. I can do it in localhost and works perfectly. But now I migrate all project to a web hosting, but saving files is not working.
The form is working, the name of file it's saved, but the file not.
I have this code into my config/filesystems.php:
'local' => [
'driver' => 'local',
'root' => public_path('web/photos'),
],
And I have this folders in public_html/web/photos Whats is wrong?
dd(is_writable(public_path('web/photos')))
somewhere in your code to check. – jszobody