What does the shell respond?$command = "convert /opt/local/bin/doc.jpg /opt/local/bin/img.pdf";
$output = shell_exec($command);
echo "<br>Shell Output:";
echo($output);
Btw, your first jpg is called img, the other test. Also look at the file link, are both images in the same folder?