MagickWand with Linux

MagickWand for PHP is an object-oriented PHP interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning MagickWand for PHP.
Post Reply
dreeh
Posts: 5
Joined: 2007-01-17T01:54:24-07:00
Location: Munich, Germany

MagickWand with Linux

Post 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?
dreeh
Posts: 5
Joined: 2007-01-17T01:54:24-07:00
Location: Munich, Germany

Post 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.
dreeh
Posts: 5
Joined: 2007-01-17T01:54:24-07:00
Location: Munich, Germany

Post by dreeh »

it works with PHP-5.0.4 on windows
eholz1
Posts: 10
Joined: 2007-02-04T20:18:17-07:00

Re: MagickWand with Linux

Post 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
Post Reply