Page 1 of 1

Install Imagick for PHP on windows 10

Posted: 2016-01-28T06:50:40-07:00
by lolka_bolka
Hi!

I had a desktop, and now I installed windows 10 64bit enterprise on it from the scratch. Now I can not install ImageMagick for PHP.

Before you say anithing, I should tell you, I've tried it with the latest version of dll and installer of course, I will mention it later.


What I tried:

Installed Apache 2.4.2 (Win64) OpenSSL/1.0.1c with PHP/5.6.5

Both of them is 64Bit and thread safe. Apache and PHP does run without any error.

So, what I did.

I've downladed a previous version of DLL from here:

https://pecl.php.net/package/imagick/3.1.2/windows
(php_imagick-3.1.2-5.6-ts-vc11-x64.zip)

I used the 5.6 Thread Safe 64bit version.

Put the php_imagick.dll into the D:\PHP\ext\ directory, and copy all the CORE_* files into the D:\PHP, restart the apache, and check the version for the Imagick.

Image

Ok, so I need this: ImageMagick 6.8.8-4 Q16 x64 2014-01-29

I downloaded exactly this version from an archive.
https://web.archive.org/web/*/http://ww ... /download/*

I removed the CORE_* from the D:\PHP

Install it into C:\Imagick, program automatically set the PATH variable for it, and I've set manually the MAGICK_HOME to C:\ImageMagick\modules\coders

After this I restarted my computer. I've start the apache by D:\Apache\bin\httpd.exe -X and I've got an error message. See below.

Of course, Imagick not in my phpinfo()

---------------------------------

As I mentioned at my start of my post, of course, I tried it with the latest dll, and latest 64bit dynmaic exe.

The same thing happens, just the error message is not the same. With the latest package of dll and installer, it has problems with the DrawAllocateWand entrie point.

---------------------------------

What do I miss, how can I solve it?

Here are the pictures:

Apache
Image

PHP
Image

C+ Redists:
Image

The .exe file:
Image

Error:
Image

Re: Install Imagick for PHP on windows 10

Posted: 2016-01-29T06:45:30-07:00
by OneFunk
Set the MAGICK_HOME to C:\ImageMagick and copy all the files from C:\ImageMagick\modules\coders & C:\ImageMagick\modules\filters there.

Also, the zip file containing php_imagick.dll.... Move all the dll files from that into C:\ImageMagick