Page 1 of 1

ImageMagick Binary Path help

Posted: 2012-06-17T09:53:55-07:00
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

Re: ImageMagick Binary Path help

Posted: 2012-06-17T10:13:31-07:00
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.