ImageMagick Binary Path help

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
henrique araujo
Posts: 1
Joined: 2012-06-17T09:50:05-07:00
Authentication code: 13

ImageMagick Binary Path help

Post by henrique araujo »

First, I'm sorry if there is already an answer to my question, but I did not.
I'm having problems in active on my server, hostgator, that is the example I have.
ImageMagick Binary Path
Path to the ImageMagick 6 binaries (convert and identify). Example:

Unix: / usr / local / bin /
Windows: C: \ imagemagick \


but I tried in every way, but I can not work, the hostgator support told me to do so ...

b ******* t / public_html / m ************ s.com.br

but did not work.

Can someone help me please.

thank you friends
Bonzo
Posts: 2971
Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England

Re: ImageMagick Binary Path help

Post by Bonzo »

Not exactly sure what you are trying to do but you can check the version installed with this:

Code: Select all

<?php
echo "<pre>";
system("convert -version");  
echo "</pre>";
?> 
If that does not work try:

Code: Select all

echo "<pre>";
system("/usr/local/bin/convert -version");
echo "</pre>";
If the first piece of code works use convert in your code other wise try /usr/local/bin/convert in your code instead. It would be worth using both pieces of code as I belive hostgator can have two versions of Imagemagick installed.
Post Reply