installing on a mac with XAMPP

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
sslazio 1900
Posts: 2
Joined: 2012-10-03T11:41:40-07:00
Authentication code: 67789

installing on a mac with XAMPP

Post 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!
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: installing on a mac with XAMPP

Post 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.
sslazio 1900
Posts: 2
Joined: 2012-10-03T11:41:40-07:00
Authentication code: 67789

Re: installing on a mac with XAMPP

Post 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?
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: installing on a mac with XAMPP

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