我将planets.png 转换为planets.jpg 的代码
<?php
exec("convert planets.png planets.jpg");
?>
仅显示空白页不起作用。
我已经安装了 imagemagick,因为它在 phpinfo() 中显示在这里查看
这里是否还有其他配置可以运行该 imagemagick 代码。
错误信息
[Sat Jul 28 20:16:11 2012] [error] [client 127.0.0.1] PHP 1. {main}() D:\\wamp\\www\\test\\into.php:0 Invalid Parameter - planets.jpg