Newbie needing help with installation
Posted: 2006-12-30T20:10:58-07:00
I'm running a linux server and ran all the instructions (/.configure, make, make install) everything works. I even do
convert -version
and get
However, when I try to run the following php script:
I get "commands not found"
So I tried
And I get a blank page...
Someone please help!
Thanks in advance,
-Danny
convert -version
and get
Code: Select all
Version: ImageMagick 6.3.1 12/30/06 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2007 ImageMagick Studio LLC
However, when I try to run the following php script:
Code: Select all
<?
header('Content-Type: text/plain');
system("exec 2>&1; type convert");
system("exec 2>&1; convert -version");
system("exec 2>&1; convert -list type");
?>
So I tried
Code: Select all
<?
$im_path="/opt/php5extras/ImageMagick/bin"
header('Content-Type: text/plain');
system("exec 2>&1; $im_path/convert -version");
system("exec 2>&1; $im_path/convert -list type");
?>
Someone please help!
Thanks in advance,
-Danny