Hello,
The new build page http://valokuva.org/magick
The installation steps should be somewhat like the following:
1. Install ImageMagick from http://imagemagick.org/script/binary-releases.php#windows. Choose Win32 dynamic at 16 bits-per-pixel. During the installation choose “Add to system path” or add the dir manually to your PATH.
2. Download php_imagick.dll from PHP 5.3 Windows builds and put it into your extension_dir. ts means thread-safe and nts is non-thread-safe. The latter is usually used with FastCGI.
3. Voila! You should now see imagick in phpinfo. If not, let me know.
#1 by Vic D'Elfant on March 7, 2010 - 5:49 pm
Quote
Sometimes you need to leave things to rest for a little while… as it turns out, there’s a statically linked, non-thread-safe build right inside the 5.2.5 PECL build: http://museum.php.net/php5/pecl-5.2.5-nts-Win32.zip. The reason I didn’t find it earlier was that php.net doesn’t link to the nts version from the downloads page.
#2 by Gavin on March 12, 2010 - 6:47 pm
Quote
Because I was getting errors using old versions of Imagick, PHP and GhostScript on IIS6 and I wanted to convert PDFs to thumbnail, I decided to take your advice and install as suggested above. After using the ‘nts’ extension I got a verified install in ‘info.php’. But when I run my PDF to PNG script I just get a blank page. No test error. Just a blank page. I’m perplexed at what the problem might be? I could at lest convert bitmap images before but nothing now. Do you have any thoughts on what the problem might be?
#3 by Deepak on March 17, 2010 - 4:18 pm
Quote
I am still not appearing imagick in my php_info
#4 by Max on March 19, 2010 - 9:32 am
Quote
Vic, You’re a life saver! thanks so much..
#5 by Andy on March 19, 2010 - 2:49 pm
Quote
Hi thanks for the Imagick builds Mikko, very handy. I’m developing locally on WAMP on my laptop hopefully deploying to a linux server later. Regarding the VC9 / Apache issue, why not tell all the people using WAMP to go to apache lounge and get the VC9 compiled apache? php.net is directing apache users not to download the VC9 version of PHP, but I just got the VC9 apache binaries from apache lounge and pasted them over the top of a pre-existing apache or windows install. Very easy and you are good to go and play with the latest and greatest Image Magick. I’m using PHP Version 5.3.2 VC9, Windows XP, 3.0.0-dev module, ImageMagick 6.6.0-6 2010-03-15 Q16. Thread safe Apache 2.2. All the latest and greatest, so far so good. cheers!
#6 by jonas on March 25, 2010 - 5:42 pm
Quote
Can you please help me?
I am running Windows 7 64 bit and a XAMPP server 1.7.3 with PHP 5.3.1.
I followed your instructions and it said that PHP was compiled with VC6 while the imagick module used VC9. I tried to get PHP VC9 and installed it and it still did not work. I tried a bunch of other stuff from the net and imagick module never shows up on the phpinfo page or does a properly working test.
Please help as I have done all that I know what to do …and you said to let you know if there was any problem
#7 by jonas on March 25, 2010 - 6:06 pm
Quote
A small update to my previous message.
This is my error when i run the pear command
PHP Startup: imagick: unable to initialize module.
Module compiled with module API= 20060613
PHP compiled with module API=20090626
These options need to match.
#8 by Mr wang on March 27, 2010 - 9:27 pm
Quote
Thx for Mikko’s work.
I have found the dll for php5.3, it work fine.
http://www.sk89q.com/2010/03/vc6-windows-binaries-for-imagick-2-3-0/
hope to halp you.
#9 by Mr wang on March 27, 2010 - 9:29 pm
Quote
I’m sorry for my English.
#10 by Apeksha on March 28, 2010 - 1:59 am
Quote
Thank you so much for the forum…it helped me get together my stuff
#11 by Gavin on April 11, 2010 - 2:51 pm
Quote
Well after a lot of work on many Windows builds I want to add to my original post. I’m using Win7 with IIS, PHP5.3nts and and the latest Imagick.dll. Just restart IIS after making changes to PHP and all will work fine. I found that going back to older builds of Windows IIS, PHP and dll’s just gave me a really bad headache. So I decided to just install as new as possible. It all works fine after correcting the PATH environment variable and I’m know working the ImageMagick 6.6.1-2 Ghostscript so it can do it’s magic. I hope this encourages other people. We should all thank for the Vic for his help.
#12 by Gavin on April 11, 2010 - 2:55 pm
Quote
Sorry I mean “Mikko” (Not Vic) :{}->woops
#13 by Prithwiraj Saha on April 30, 2010 - 10:38 am
Quote
find it here tooo
http://www.knowledge-transfers.com/it/installing-imagemagick-on-windows-setup-imagick-on-php
#14 by Andy on May 18, 2010 - 5:37 pm
Quote
I’m testing Graphics Magick for php, but seems I can’t preset the Gmagick object to enhance the rasterizing of a PDF. With Imagemagick we can preset the resolution BEFORE reading the file.
$im = new Imagick();
$im->setResolution(288,288);
$im->readImage(“c:\\my.pdf”);
Is there an equivalent for Gmagick? Simply resampling is not going to work because the larger image will be grainy.
Also… is it possible to run both Gmagick and Imagick at the same time as Apache modules? I’m thinking this not possible because the names of the dlls are the same.
andy
#15 by Mark on June 5, 2010 - 1:35 am
Quote
I have WampServer Version 2.0, with PHP 5.3.0, Apache 2.2.11, I have tried download latest Magick (ImageMagick-6.6.2-2-Q16-windows-dll.exe) and with older versions (ImageMagick-6.4.1-0-Q8-windows-dll)
Nothing works, I’ve tested Magick it is installed properly but the when I start the Apache it throws up the following error every time.
Don’t know what is exactly wrong, any help / hints appreciated.
PHP Warning: PHP Startup: Unable to load dynamic library ‘c:/wamp/bin/php/php5.3.0/ext/php_imagick.dll’ – The specified module could not be found.\r\n in Unknown on line 0
Warning: PHP Startup: Unable to load dynamic library ‘c:/wamp/bin/php/php5.3.0/ext/php_imagick.dll’ – The specified module could not be found.
in Unknown on line 0
[Fri Jun 04 15:27:43 2010] [notice] Child 4024: Child process is running
#16 by Vinny Benson on June 14, 2010 - 8:16 am
Quote
:@ I have a problem, everytime i run a php imagick page, apache Fails
this is the error message
Apache HTTP Server has stopped Working
problem details;
Problem signature:
Problem Event Name: BEX
Application Name: httpd.exe
Application Version: 2.2.14.0
Application Timestamp: 4ac181d6
Fault Module Name: MSVCR90.dll
Fault Module Version: 9.0.21022.8
Fault Module Timestamp: 47313dce
Exception Offset: 0006b917
Exception Code: c0000417
Exception Data: 00000000
OS Version: 6.0.6002.2.2.0.274.10
Locale ID: 2057
Additional Information 1: 2140
Additional Information 2: 6eb28a623148e989a731428b1290ea7b
Additional Information 3: 4eb0
Additional Information 4: c19daf8c7c4d3260cba19407a625970f
Read our privacy statement:
http://go.microsoft.com/fwlink/?linkid=50163&clcid=0×0409
Imagick version: 6.6.2-4-Q16
PHP Version: 5.3.0 vc6 – came with wampserver 2.0
Apache Version: 2.2.11 vc6 – came with wampserver 2.0
im not 100% sure but i think the problem could be Imagemagick, as i have a feeling its a VC9 compile
#17 by khoyee on June 28, 2010 - 3:10 pm
Quote
Just in case this might help others, imagick appears on the list of phpinfo only after I added extension=php_imagick_ts.dll in php.ini manually.
Hope this helps.
Cheers.
#18 by loshose on July 5, 2010 - 3:11 pm
Quote
Mikko; Do you have a version for x64 systems?
I’m running (or trying to run) Windows 2008 R2 (x64), Apache 2.2.15 (VC9 x64) and PHP 5.3.2 (VC9 x64), but I can’t get Apache to start up with php_imagick_ts.dll enabled.
I’ve tried both ImageMagick-6.6.3-0-Q16-windows-dll.exe and ImageMagick-6.6.3-0-Q16-windows-x64-dll.exe
Everything works fine if I use 32bit versions of every software but I’d rather use the 64bit versions.
#19 by riyas on July 9, 2010 - 5:55 pm
Quote
i have 4 pages in ttf format. all this pages has some content except for page no 3. i.e page number 3 is blank. how can I identify this blank page from other using Imagick
#20 by Delwar on July 25, 2010 - 4:49 am
Quote
Therve Mikko,
I am trying to configure ImageMagick with XAMPP Apache 1.7.3, PHP 5.3.1 on windows XP. I have followed you instruction and resolved the problem with VC6 build. After running phpinfo(). It does not show Imagick enabled.
Would you please suggest me what to do.
Ystavallisesti,
Delwar