Page 1 of 1

problems compiling imagick in win + apache + php 5.3

Posted: 2011-04-23T06:23:02-07:00
by djmon84
Hi all!

First, sorry for my english!

I want to install in my server the last versiĆ³n of the pecl imagick extension.
My server enviroment is: win + apache + php 5.3

To the get the dll extension (php_imagick.dll) its necesary compiling the pecl extension with the php 5.3 VC6 version (VC9 is only for IIS), but in the downloads sections, this version its not available:
http://windows.php.net/download/

If I use the VC9 version to compiling this version a warning prompts:

"WARNING
PHP Startup: imagick: Unable to initialize module
Module compiled with build ID= API20090626, TS, VC9
PHP compiled with build ID = API20090626, TS, VC6
These options need to match"


What should I do?

Thanks!

Re: problems compiling imagick in win + apache + php 5.3

Posted: 2011-07-27T05:49:22-07:00
by tk1
This error says that you have to run PHP and extensions compiled with the same compiler VC6 or VC9.