I\'m trying to launch a CLI command from a PHP script:
in particular I wanna use this command convert a.png a.tif to convert an image to tiff.
convert a.png a.tif
W
It looks like the 'convert' binary isn't in any of the directories on the PATH PHP is using. You could try using the full path, e.g. /opt/local/bin/convert or whatever the path is.
PATH
/opt/local/bin/convert
You could also modify the PATH used by PHP (but I don't know how).