PDA

View Full Version : ImageMagik Setup


Pete
5th of April 2007 (Thu), 09:09
Hi there.

Found out that my host does have ImageMagick installed, however, I can't seem to get EE to recognize it.

Following up, we do have ImageMagick installed.

Its nomal path is /usr/lib
ie: /usr/lib/ImageMagick-6.2.2

I've tried entering "/usr/lib/ImageMagick-6.2.2/convert" into the path, but EE says the path isn't valid. I've also tried various flavours of "../" at the start, but nothing seems to go through.

Can anyone shed light on what path I should be using?

Thanks.

yosemite
5th of April 2007 (Thu), 11:47
this is what mine says for ee 1.5


Path to Imagemagick's 'convert' program is
/usr/local/bin/convert

Path to Imagemagick's 'composite' program is
/usr/local/bin/composite

on a ee2 installation on the same server it says

Path to Imagemagick's 'convert' program is
convert

Path to Imagemagick's 'composite' program is
composite

hope this helps

you could always ask your host

Pete
5th of April 2007 (Thu), 11:51
Well, thanks for that. However, then standard setup doesn't really work for me, hence the post.

My host was asked, and what the reply was is what I quoted above...

Pete
6th of April 2007 (Fri), 12:01
Turns out that ImageMagick was disabled with php safe mode being on.

Getting my host to turn it off solved the problem.

philbyuk
7th of April 2007 (Sat), 07:22
happy ending then

Pete
7th of April 2007 (Sat), 15:04
happy ending then

Thanks entirely to you, yes!! :D

kdunbar@dunbars.net
11th of January 2008 (Fri), 00:08
There are several posts regarding Imagemagick and getting it work. I've gone through most of them, and am still having trouble.
Running OpenBSD 4; Apache 1.3.29, PHP 5.1.4, mysql 5.
Server Tools Setup always says Path not Valid... and I've tried all the variations.
I loaded the test.php that was suggested in one of the threads, and the ouput is null.
test 1, 3, "Array()", test 2,4 are blank. running convert -version from the command line returns the expected Imagemagick version info.

Do I have issues running sh exec in a chroot environment?? PHP Safe_Mode is off by the way. I am my own webmaster, so I can do whatever to the server. Anybody have any suggestions on how I can get to the bottom of this, and use Imagemagick on this server??

Thanks in advance for any help.