Page 1 of 1
Help Needed while mogrify/convert
Posted: 2007-10-15T13:52:54-07:00
by PhpDev
Hi All,
I installed ImageMagic locally (Windows OS) and it's works fine. When I uploaded the files to server (Linux) its not working. I tried with the Putty, without imageMagick root its working.
Can anybody help me how to solve this problem!
Thanks in Advance.
Re: Help Needed while mogrify/convert
Posted: 2007-10-16T14:20:11-07:00
by Bonzo
Try some of the code on these pages to see if ImageMagick is installed properly; another main problem can be that you have to use usr/local/bin/convert rather than convert depending on how the server is setup.
http://www.rubblewebs.co.uk/imagemagick ... server.php
Re: Help Needed while mogrify/convert
Posted: 2007-10-16T15:42:56-07:00
by PhpDev
Hi,
Thanks for the reply. I executed few codes in the given site. I don't get the version of the Image magick.
You can see
it here
The code is as follows
Code: Select all
echo "To display the version<br><pre>";
exec("convert -version");
echo "</pre>";
echo "To display the Path<br><pre>";
system('which convert',$path); print_r($path);
echo "</pre>";
I really wonder why its working in Putty and not working using PHP code.
I used resizing the images using Image Magick, but nerver face problem like this.
Can you help to solve this problem. This is very imaportant for this site.
Thanks.
Re: Help Needed while mogrify/convert
Posted: 2007-10-17T19:18:49-07:00
by anthony
Looks like you found a convert, but it is not returning a version number.
Does convert location match up to that on the command line?
have you looked in the error logs, It may be missing some library paths.
Re: Help Needed while mogrify/convert
Posted: 2007-10-18T11:48:00-07:00
by PhpDev
Yeah, Yesterday I found there is an error while loading some libraries. May be the Image Magick was not installed properly. I need to contact with the Server people.
Thanks for the reply.