Have been using Disknode 4.7.0 on a Windows XP / IIS 5.1 system, and I am repeatedly getting errors about a failed "file -bi" command. I'm not a *nix guru, but I understand this to be a *nix specific shell command for finding a mime type of a file. Is this correct? If this is correct, then does the fact Disknode uses this command make it *nix dependent, and not suitable for Windows based systems?
I also found some old mailing list posts saying that all I should have to do is enable the php_mime_magic.dll extension in my php.ini, but this has not helped so far.
Comments
Comment #1
elmuerte commented"file -bi" is indeed a unix only feature, but it's only used when the PHP mime functionality is not available (e.g. function "mime_content_type", does not exist).
http://www.php.net/manual/en/ref.mime-magic.php
Comment #2
brashquido commentedAha! I didn't have the magic.mime path set. All working now, no errors at all. Perhaps you could add a note for Windows users in the readme, and just point them to the URL above?