I'm getting the following in the status view:

MimeDetect is using the browser supplied mime type or file extension lookups. It is strongly recommended that you install and configure the PHP Fileinfo Extension or the UNIX 'file' command to provide more accurate severside mime type detection

But - this is running on debian linux and the file command is definitely installed:

sites/all/modules/mimedetect$ file magic.mime 
magic.mime: magic text file for file(1) cmd
sites/all/modules/mimedetect$ which file
/usr/bin/file

Any clues as to why it's flagging file as missing?

Comments

dopry’s picture

is the path to file correct? does the webserver have permission to execute it?

chrissearle’s picture

Status: Active » Closed (fixed)

Hmm. Now that's embarrassing. I wondered what you meant about the path being correct - so I took a (better) look thru the admin settings. Hadn't spotted that there was a config for the mime settings - it really helps to check the checkbox doesn't it :)