Install Imagick for PHP on windows 10
Posted: 2016-01-28T06:50:40-07:00
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.
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
PHP
C+ Redists:
The .exe file:
Error:
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.
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
PHP
C+ Redists:
The .exe file:
Error: