Supported ImageMagick formats do not matter

I installed the download and installation of ImageMagick-6.8.3-7-Q16-x86-dll.exe from the link http://imagemagick.org/script/binary-releases.php#windows and I am using Windows 7 and PHP 5.3.8 .

When installed, it is correctly installed on my computer, and the convert commands work fine. My convertible configuration shows what is shown here :

enter image description here

But in my phpinfo section, I get:

Supported ImageMagick formats do not matter

I got all the image magic values ​​like this https://www.evernote.com/shard/s297/sh/12397c86-d016-4ca4-9415-fd541daeca39/2fc504bf5ddba5693efd3249402b2b5c .

I do not know why this is becoming impractical. I installed the same ImageMagick-6.8.3-7-Q16-x86-dll.exe on php 5.3.8 on my 32-bit Windows7 computer. php_imagick.dll i am disconnected from another website. I do not know what the problem is when installing imagemaagick, if it is a problem with the php_imagick.dll version, can anyone suggest the correct php_imagick version for this configuration?

+6
windows php imagemagick
Mar 07 '13 at 18:48
source share
7 answers

Not all versions of ImageMagick will work with all versions of php_imagick.dll. Extension Imagick v3.4. * In combination with ImageMagick 7. * did not support any image format. When I switched to ImageMagick 6.9. * The problem was solved.

On the phpinfo echo, you can see which version of ImageMagick is needed. Find "Imagick using the ImageMagick library version" and "Imagick compiled with the ImageMagick version" (which should be equal).

Binary download list: https://www.imagemagick.org/download/binaries/

Or older versions: http://windows.php.net/downloads/pecl/deps/

Step-by-step instructions for installing ImageMagick on Windows: stack overflow

+6
Oct 24 '16 at 11:29
source share

I spent several days searching for a solution, and finally found it using Sysinternals procmon.

I found that apache was looking for DLL files such as IM_MOD_xxxx.dll in the folders c: \ windows \ system and / bin. Copying files to one of these folders helped me.

Luck.

+5
Apr 08 '14 at 13:09 on
source share

From the moment of my first result in google when searching for a solution to this problem, I will add the one that worked for me. Source: http://forums.zend.com/viewtopic.php?t=2397#p15226

I am having problems with PHP 5.6, it recognized the extension, but the formats were not supported. ( http://windows.php.net/downloads/pecl/releases/imagick/3.1.2/ )

Installing the latest version of imagemagick (with dynamic libraries) and copying DLL files from imagemagickDir / modules / coders / * and imagemagickDir / modules / filters / * to imagemagick root helped, now imagemagick works correctly when php is called.

Remember to give IIS access to the imagemagick folder.

EDIT:

When IIS successfully recognized the formats, I ran into compatibility issues.

Working combo for PHP 5.6:

http://windows.php.net/downloads/pecl/releases/imagick/3.2.0b2/
http://ftp.icm.edu.pl/packages/ImageMagick/binaries/ImageMagick-6.8.8-9-Q16-x86-dll.exe

+4
Oct 13 '14 at 7:16
source share

Make sure that

MAGICK_HOME = C: \ Program Files (x86) \ ImageMagick-6.8.8-Q16 \ modules \ coders

.

+2
Aug 08 '16 at 15:04
source share

There are many answers since the landscape for this program and PHP has changed over time.

I am so cut that I am now using PHP 7.1. At first I copied the DLL all over the place, like all the instructions. Fortunately, all that is needed is the latest PECL package and the corresponding version of Imagick for your system, which was a difficult task. You cannot use the latest Imagick (version 7 at the time of this writing) if you want to use the PHP extension until the extension is updated. You need to install the version of Imagick on your system that matches the version of the PHP extension.

As others have said, download the latest PECL package for imagick for your version of PHP. Since I am using the thread safe version of x64 for PHP 7.1, I want the 3.4.3RC1 package, the only one with DLL for my version of PHP at the moment.

Of these files, I only need to copy php_imagick.dll . Then go to http://windows.php.net/downloads/pecl/deps/ and download the latest version of Imagick for your system, which is likely to be VC14 at the moment, which seems to be simply related to installing the appropriate C package ++ Redistributable on your system for it to work. Just unzip the files and add the recycle bin to your path. Again, if you have a newer version of Imagick, you will want to replace it with this one, because it is the one that will work with the php extension.

At this point you will need to restart apache and confirm that the imagix extension is included in phpinfo. It should show you the version of Imagick for the PHP extension. Again, if Imagick on your system on your way is the version that matches what is shown for the PHP extension, then you should see a list of supported formats that it receives from the DLL from Imagick version 6 on your system. You will not need to copy them to bin-apache or anywhere else, and also do not create the MAGICK_HOME folder.

+1
Dec 25 '16 at 7:26
source share

I had the same problem and tried everything. You do not need - as I thought - ImageMagick is installed on your system to run the Imagick module for PHP. You just need to make sure that you include both the CORE_RL_* DLL and the IM_MOD_* DLL in the apache/bin , and then also the php_imagick.dll file in the php/ext directory.

I am running PHP 7.0.25 x86 through XAMPP on Windows, and these instructions were incredibly simple and useful:

https://mlocati.imtqy.com/articles/php-windows-imagick.html

+1
Dec 07 '17 at 16:35
source share

Even after installing imagick and imagemagick correctly, if it does not work, check your Apache environment PATH variable. Most likely, if the path variable does not display your inatallation ImageMagick folder, add it to the advanced Windows system settings / environment variables / system variables β†’ PATH.

Restart the WAMP server and check if there is phponfo for the Apache environment PATH variable.

0
Jan 25 '18 at 6:15
source share



All Articles