Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The contents of the attached text file contain consolidated step-by-step instructions for installing and configuring mimedetect, and required 3rd party components, on a fresh Ubuntu LAMP server running Drupal 6.15.
I am providing this documentation not as an issue, rather, as time saving information for those whom wish to make use of mimedetect.
Perhaps the contributor(s) of the wonderful module may use this to create a document page. If they do I would be happy to assist in maintaining documentation.
Kindest Regards,
Troy
Comment | File | Size | Author |
---|---|---|---|
#2 | installSteps.mimedetect.txt | 1 KB | nomadcanuck |
Comments
Comment #1
Weka CreditAttribution: Weka commentedThanks Troy,
Did you forget to attach the text file?
Comment #2
nomadcanuck CreditAttribution: nomadcanuck commentedWow! ...I could have sworn... It appears I did neglected to attach the text file, sorry about that!
Comment #3
ccardea CreditAttribution: ccardea commentedThis has been helpful to me. Do I understand correctly that:
1. The Fileinfo PHP extension needs to be installed on the server?
2. You need to create a fileinfo.ini file that contains the text "extension=fileinfo.so"?
3. You need to add the following to your settings.php file
"$conf = array(
'mimedetect_magic' => '/usr/share/file/magic',
);"?
Also it looks like you are using the tar command to extract files from the tar.gz file. This is a problem for me. I tried to use 7Zip file manager to extract the files on my local machine, but I get nothing. Can anyone give me a hint?
Comment #4
ccardea CreditAttribution: ccardea commentedOK, since I managed to get the files from CVS, the README has cleared things up a bit for me.
Comment #5
manuel.adanClosing this as outdated, feel free to re-open if you're still looking for a solution and waiting for appropriate assistance.