[问题]Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo e...

laravel_admin到服务器图片上传报错:
Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extensio

解决:
原因是没有开启php的php_fileinfo扩展,开启即可。
找到php.ini文件,搜索到php_fileinfo,如果没有就直接添加:
extension=php_fileinfo.dll;
宝塔:


image.png
image.png

你可能感兴趣的:([问题]Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo e...)