这是上面打印的 消息内容 dd($file->guessClientExtension(),$file->getClientOriginalExtension(),$request->file('image'));
my question:
The first one is printing in the online environment (Alibaba Cloud) (the upload failed because the specific information of the file cannot be recognized)
The second is the printing of the online test environment (the physical machine is successful)
The problem is that the same picture and the same code read different information. Please help me guess the reason.
The configuration in php.ini is the same for Ali and test
If you compare size and error carefully, you can see that the first file has not been read at all, so it is recommended to check the path permissions. This is a deployment problem.