Page 1 of 1

eZ cannot locate the CONVERT binary

Posted: 2010-06-15T06:57:26-07:00
by Rama
Hi there,

I installed ImageMagick from the source in the root directory of an aruba webserver (Linux/UNIX SO) through the required ssh commands.

Following the installation, I executed the "which convert" command which returns convert lives in the vps's usr/local/bin directory.

The problem is: I want it to be used as the default image system of an eZ publish web site (hosted by this server) but I cannot figure out what prevents eZ publish from identifying ImageMagick. Even if I provide convert's path it keeps ignoring it.

In other words eZ cannot locate the convert binary and thus cannot use it.

Any idea what to do to make it work and set ImageMagick as the eZ publish image system?

Hope somebody helps..
Many, many thanks in advance!

Re: eZ cannot locate the CONVERT binary

Posted: 2010-06-15T12:13:10-07:00
by Rama
One more thing:

If I run "which convert" (or "convert --version") from the shell it works fine and it shows me where the convert is located (or the ImageMagick version),
while if I launch a php file uploaded inside the eZ project website - hosted by the server - with the command <?php echo system("which convert"); ?> it doesn't return anything.
Although if I give the full path <?php echo system("which /usr/local/bin/convert"); ?> it does return the requested output.

...
How to make ImageMagick as the default image system?
Do I need to create a Symbolic link? "ln -s /usr/local/bin/convert /usr/bin/convert"