I have this code running in CentOS 5.5 ,PHP 5.1.6 ,Apache/2.2.3 ,ImageMagick 6.2.8
when i run the php tester i dont get the image created , only the echo string printed on page as html.
$convert = "/usr/bin/convert";
$command = "$convert -size 100x100 xc:blue mytest.jpg";
$test_image = exec($command);
echo "<img src=\"mytest.jpg\">";
but when i run the same command as onliner the image does created just fine.
what is wrong here i can't tell.
/usr/bin/convert -size 100x100 xc:blue mytest.jpg