Closed (outdated)
Project:
MimeDetect
Version:
5.x-1.1
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
24 Mar 2009 at 21:00 UTC
Updated:
25 Feb 2017 at 19:16 UTC
Jump to comment: Most recent
Comments
Comment #1
fuquam commentedForgot to mention I'm running PHP 5.2.9. I have "extension=fileinfo.so" in my php.ini file.
Thanks.
Comment #2
drewish commentedif you view phpinfo(); is it displaying the fileinfo extension? perhaps it's not actually being loaded by php in your webserver.
Comment #3
drewish commentedclosed due to lack of feedback. feel free to re-open with more information.
Comment #4
MartinDeJong commentedi am getting this error 2.
Mime type detection Browser & Extension
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
How to solve this ( File command cant be found either)
Comment #5
weka commentedI am experiencing the same error. Not sure how to troubleshoot this.
What should I look for in the phpinfo() results? When I search for fileinfo the only thing I find is the class SplFileInfo under the SPL section.
PHP Version 5.2.9
Comment #6
weka commentedComment #7
M7jctC45 commentedGo to admin/settings/mimedetect and enable unix file command
Comment #8
weka commentedThank you for your reply Kay. I have done that, was just wondering if using fileinfo is the preferred method and I should try to make it available.
Comment #9
promesI am running PHP 5.3.1.
In phpinfo() I find:
fileinfo
fileinfo support enabled
version 1.0.5-dev
But still mimedetect refuses to install with the standard error text.
Any help?
Comment #10
usera commentedI installed by compiling in 5.3.4 and it does show
1.0.5-dev enabled
However using the fileinfo produces no output and even set path in settings.php.
Because of this it cannot be enabled(not grayed out) and it produces no error when trying to enable.
Comment #11
manuel.adanClosing this as outdated, feel free to re-open if you're still looking for a solution and waiting for appropriate assistance.