problems compiling imagick in win + apache + php 5.3

IMagick is a native PHP extension to create and modify images using the ImageMagick API. ImageMagick Studio LLC did not write nor does it maintain the IMagick extension, however, IMagick users are welcome to discuss the extension here.
Post Reply
djmon84
Posts: 8
Joined: 2010-04-05T04:55:59-07:00
Authentication code: 8675308

problems compiling imagick in win + apache + php 5.3

Post 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!
tk1
Posts: 17
Joined: 2011-07-27T05:42:54-07:00
Authentication code: 8675308
Location: Poland

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

Post by tk1 »

This error says that you have to run PHP and extensions compiled with the same compiler VC6 or VC9.
cheers
tk1
Post Reply