ImageMagick 6.6.9-1 not detected, incorrect version flag

jbartlett777

Joined: 2006-10-09
Posts: 13
Posted: Tue, 2011-04-19 05:53

This version of IM doesn't use -v to display the version information, it uses -version. I also couldn't get the shell_exec to execute the shell_exec to fetch the version information until I put the full path to it in the configuration in graphics.php.

Before
"name" => "ImageMagick", "binary" => "convert", "version" => "convert -v",

After
"name" => "ImageMagick", "binary" => "convert", "version" => "/opt/local/bin/convert -version",

After this change and plugging in the path into extra_binary_paths, I could activate IM. The previous error message reported open_basedir restrictions but no amount of playing with it would get shell_exec to execute "convert -version" without a path specified.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Tue, 2011-04-19 12:04

We're not going to hard-code a path in there like you did, but for the version option parameter, please file a bug to have that changed. http://sourceforge.net/apps/trac/gallery/ Create an account if you don't have one (it's free) and click on New Ticket.
____________________________________________
Like Gallery? Like the support? Donate now!

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 25957
Posted: Fri, 2011-04-22 15:44