Page 1 of 1

Can't detect convert

Posted: 2010-02-23T17:24:37-07:00
by sebarpin
Hi,

I have a software that try to find convert but it can. ImageMagick is install and working as I test it with a php script. The script the system use to detect it is:

// Check if ImageMagick is installed
$ext['opt']['ImageMagick'] = 'ImageMagick';

$convert = findBinary(array('convert'));

if(is_executable($convert)) {
$res = `$convert --version`;

if (preg_match("/ImageMagick/", $res)) {
$_SESSION['pref']['convertPath'] = $convert;
$_SESSION['plugins']['Atmail_FilePreview'] = 1;
unset($ext['opt']['ImageMagick']) ;// = '';
}
}

Thanks for the help. Do I need to put the convert file somewhere else?

I'm running centos 5.

Re: Can't detect convert

Posted: 2010-02-26T13:47:10-07:00
by fmw42