The mime magic extension has been flagged deprecated and we are advised to use the fileinfo extension instead if we want to look up the mime type of a file. Problem is the fileinfo extension has been enabled, fileinfo_open has been guided to point to the mime magic file, but it still doesn't work. I had to use mime magic extension instead. But I want to find out if I can use something more appropriate than this deprecated library.
After googling a bit, it seems that libmagic is required for this. However, I can't find a win32 port of libmagic. Anybody have any ideas?
I'm running Apache 2.2.3, PHP 5.2.0 RC5, Windows XP Professional SP2