Laravel 4 - no guessers available issue

后端 未结 3 1424
醉酒成梦
醉酒成梦 2021-01-17 20:13

I get this error: LogicException: Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) while trying to upload an image. I

相关标签:
3条回答
  • 2021-01-17 20:38

    Open php.ini file and you can find ;extension=php_fileinfo.dll remove the semi-coloumn to extension=php_fileinfo.dll will work perfectly then restart the your apache server or xampp ,wampp whatever environment you are using

    0 讨论(0)
  • 2021-01-17 20:55

    I think is the WAMP Web Server's Bug. I switched to XAMPP Web Server and it works fine.

    Thanks alot by the way.

    0 讨论(0)
  • 2021-01-17 21:00

    uncomment this line in php.ini into php folder.

    extension=php_fileinfo.dll

    and restart the server(enter 'php artisan serve' again). This way will works!

    0 讨论(0)
提交回复
热议问题