Installed ImageMagick and GhostScript with macPorts. Both installs pass the "working" tests listed on there respective sites. When I try a conversion nothing happens.
convert.php
<?php
//$pdf = "/images/image.pdf";
//$pdfimage = pdf_open_image_file($pdf, "jpeg", "test.jpg");
//pdf_place_image($pdf, $pdfimage, 10, 10, 0.6);
exec("convert images/image.pdf images/image.jpeg")
?>
<html>
<head>
<title>pdf to jpg converter</title>
</head>
<?php
echo "<img src='images/image.jpg'>";
?>
<body>
</body>
</html>
Am I missing something?