Have you checked permissions, i.e. which user the webserver is running as,
read/write permissions for the image?

On Dec 21, 2008 1:30 PM, "cuongvt" <[email protected]> wrote:


I'm in freebsd 7.0, imagemagick 6.4.7, php 5.2.8.
If I execute below very simple php script (named 'convert.php') from
web-base: http://localhost/convert.php, it not converted image at all,
but if I execute from shell: 'php convert.php', it converted original image
for me.
Very strange. Could anyone tell me where's I'm wrong?
Below is my simple php script:
<?php
 $im_path="/usr/local/bin";
system("$im_path/convert image.JPG hello.jpg ");
?>


--
View this message in context:
http://www.nabble.com/strange-prob-with-convert-and-php-as-frontend-tp21110912p21110912.html
Sent from the Magick-users mailing list archive at Nabble.com.

_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to