I am developing a Laravel project on Windows 10 locally using Laragon
PHP Version: 7.1.8 64bit NTS
related php.ini that I know
post_max_size = 8M
file_uploads = On
Source:
if (!$request->hasFile('profile_picture'))
throw new \Exception("No image found");
$image = $request->file('profile_picture');
Storage::putFileAs('users', $image ,auth()->id());

In my opinion, this is a problem with the server configuration, maybe a problem with php.ini,
but I am not familiar with the server setup, and there are not many topics related to this problem in this thread.
I know the cause of the problem, but I do not know how to solve it.
source
share