ImageMagick Problems

For some reason, ImageMagick is not working properly on my server. Here's my ImageMagick script:
PHP Code:
<?php
echo "Convert: ";
exec('convert -size 120x120 orig.jpg -resize 120x120 thumb.jpg');
echo 
"Done.\n";
?>
When I run this via the command line, it works fine:

-bash-2.05b$ php testing.php
Convert: Done.

-bash-2.05b$ ls -l thumb.jpg
-rw-r--r-- 1 username username 13099 Mar 6 10:31 thumb.jpg

When I run it from Apache however, it does not work. Any ideas why this would happen, and how I could fix it?

- Matt

 

 

 

 

Top