Konrad Podgórski - Web Developer

Personal blog about developing web applications with PHP

[How to] Unable to guess the mime type as no guessers are available.

Please keep in mind that this post was written more than 2 years ago and might be outdated.

To fix exception while uploading file using framework Symfony 2

Unable to guess the mime type as no guessers are available.

enable PHP extension php_fileinfo, to do this find your php.ini file and uncomment following line

; windows
extension=php_fileinfo.dll

or

; linux
extension=php_fileinfo.so

on

Find this post helpful? Spread the word, thanks.

Comments