View Full Version : Installing ImageMagick

10-25-2004, 09:40 AM

Does anybody have any idea how I can install ImageMagick (php module) on FreeBSD?

10-25-2004, 04:47 PM
I think you should add a line like --with-imagick in the configure.php file and rebuild php. But then again this is just theory and something tells me you have to download the package here http://pear.php.net/get/imagick and put it somewhere so php includes it during compile. I've only installed it as a perl module not php.

10-27-2004, 06:07 AM
It was just as easy as installing the /usr/ports/graphics/ImageMagick port :)

ImageMagick is called with exec()

I moved the ImageMagick binaries to /usr/local/bin/imagemagick/ and added this directory to the safe_exec_dir or something like that in php.ini so I can keep safe mode on.