Page 1 of 1

installing on a mac with XAMPP

Posted: 2012-10-03T12:06:09-07:00
by sslazio 1900
Hi guys!

I need your help! I'm trying to install imagick on my xampp 1.7.3 for MAC OSX following this tutorial. http://benford.bluhelix.com/installing- ... ith-xampp/

but i continue to have some compiling errors!

if i use ./configure

Code: Select all

checking ImageMagick MagickWand API configuration program... configure: error: not found. Please provide a path to MagickWand-config or Wand-config program.
NOTE: my config.m4 is editet to point to te correct files (in the same bin folder of xamppfiles)

if i use ./configure --with-imagick=/opt/local (as seen here viewtopic.php?f=18&t=18737&p=72380&hili ... mpp#p72380)

Code: Select all

configure: error: not found. Please provide a path to MagickWand-config or Wand-config program.
I don't really know wath can i do to install this library to my PHP!

Re: installing on a mac with XAMPP

Posted: 2012-10-03T14:33:30-07:00
by fmw42
Magicwand for PHP and Imagick are two completely different APIs. If you want Imagick then you don't need the Magicwand for PHP. Furthermore, you can just install Imagemagick and run and IM command line via PHP exec() command. Other than that I am not sure I can help as I do not use any of the PHP APIs or any other API, just the command line.

Re: installing on a mac with XAMPP

Posted: 2012-10-04T04:08:12-07:00
by sslazio 1900
fmw42 wrote:Magicwand for PHP and Imagick are two completely different APIs. If you want Imagick then you don't need the Magicwand for PHP. Furthermore, you can just install Imagemagick and run and IM command line via PHP exec() command. Other than that I am not sure I can help as I do not use any of the PHP APIs or any other API, just the command line.
I know i can rum IM via exec, but i need to test mi application with a normal execution of IM... the i would try to install it on xampp.

If magickwnd is another API, why when i try to install imagemagick into XAMPP the ./configure stops there?

Re: installing on a mac with XAMPP

Posted: 2012-10-04T10:53:45-07:00
by fmw42
there are two magickwands, one is part of imagemagick and is the C API and the other is the magickwand PHP API. Neither of these are the same as Imagick (for PHP)

I am not sure which is the issue.

see the relevant forums at http://www.imagemagick.org/discourse-server/

also see
http://www.imagemagick.org/script/advan ... lation.php
http://www.imagemagick.org/script/magick-wand.php
http://www.magickwand.org/
http://www.imagemagick.org/script/architecture.php
http://pecl.php.net/package/imagick/3.1.0RC2
http://php.net/manual/en/book.imagick.php