
(These changes include the “php_mime_magic” extension, the 4 “magic” files you downloaded, and the “MAGIC” environment variable). This isn’t related to ImageMagick, despite the similar names.
One thing you’re changing settings and files for is file “magic,” the system PHP uses or used for determining what type a file is. The steps you’re taking combine at least 3 things that are basically separate, though: #IMAGEMAGICK INSTALL WINDOWS WINDOWS#
Omeka 2.5 makes some changes that should improve Windows path handling which might help. I hope someone can have a look at this problem and post even resources or other forums I should check to better understand the problem, I am open to learning!
I added a new system environment variable called MAGIC refering to C:\MAMP\bin\php\php7.0.9\extrasīut I still get the same message. I extracted the files and place the 4 files in the folder extras/ of the version of PHP I use: C:\MAMP\bin\php\php7.0.9\extras.
I downloaded 4 files magic.mime,, magic, magic.mgc of the GNU file package for windows (not the last version because it contains only 2 files, but the latest version that includes all 4 files, 4.23: ).
in C:\MAMP\bin\php\php7.0.9 and in C:\MAMP\conf\php7.0.9, I uncommented:. I copied all the files of the ImageMagick folder and put them in C:\MAMP\bin\ImageMagick. I installed IM 7 for Windows and made sure to tick the checkbox “Install legacy components (convert.exe etc)” during the installation since the Image Magick in MAMP does not contain convert.exe. Now in the settings I get this message “The ImageMagick directory path does not work.” So I tried the following: I am bringing this question back as my problem is similar, “The ImageMagick directory path does not work.” but my Omeka is on my local server, I am using MAMP on Windows.Īt the installation, the php module “fileinfo” was declared to be missing, so in C:\MAMP\bin\php\php7.0.9 and in C:\MAMP\conf\php7.0.9, I uncommented:Īnd it solved the problem.