eZ cannot locate the CONVERT binary

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
Rama

eZ cannot locate the CONVERT binary

Post 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!
Rama

Re: eZ cannot locate the CONVERT binary

Post 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"
Post Reply