Page 1 of 1

MagickWand with Linux

Posted: 2007-01-17T02:01:26-07:00
by dreeh
i have a problem with magickwand with linux.

all installation things are done and the php extension is working (phpinfo() tells me the details).

some functions are working. but the function

Code: Select all

MagickTransformImage
is corrupt. it brings me an boolean return value instead of the magickwand-object.

in the manuel i can read:
If the operation fails, the original image is returned in the returned MagickWand.



what goes wrong here? how can i debug something to find the problem?

Posted: 2007-01-18T12:59:24-07:00
by dreeh
here the versions, i'm using.

imagemagick-6.3.1.7
php-5.1.6
magickwand-0.1.9

but i had the problems with 0.1.8 too.

Posted: 2007-01-19T06:00:42-07:00
by dreeh
it works with PHP-5.0.4 on windows

Re: MagickWand with Linux

Posted: 2007-02-05T13:02:51-07:00
by eholz1
You need to check your magickwand installation.
see this link:
http://www.magickwand.org/

also check this you may have to do something like this:
i install PHP 4.4.2 follow steps.
rm ./configure
rm: remove regular file `./configure'? y
./buildconf --force
Forcing buildconf
using default Zend directory
rebuilding configure
rebuilding main/php_config.h.in
./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-magickwand=/usr/local/ImageMagick
(i installed ImageMagick in /usr/local/ImageMagick)
./make

check the install and readme files that come with imagemagick, using phpize, and rebuilding PHP (./configure with appropriate switches, make, make install, This would be done after doing the same process with the imagemagick tar file. You will then have to add or uncomment the magick*.so file in the extensions area of the php.ini

good luck

Note: I was able to get this working on Linux fedora core 6, imagemagick 6.4, and magicwand for php, and php 5.2 (it took a while)

eholz1