Hi,
I can run ./mogrify from a telnet session but when I run from php (see below) I get the following...
ERROR: exec() error: /usr/local/etc/httpd/cgi-bin/ImageMagick-5.4.9/bin/mogrify: Memory allocation failed (unable to allocate cache nexus_info) [Cannot allocate memory].
<?
$cmd = "/usr/local/etc/httpd/cgi-bin/ImageMagick-5.4.9/bin/mogrify -resize 100x100 1500.jpg 2>&1";
exec($cmd, $exec_output, $exec_retval);
if( $exec_retval > 0)
{
print "ERROR: exec() error: $exec_output[0]";
}
else
{
print "Image was resized";
}
?>