[magick-users] strange prob with convert and php as frontend

Vu The Cuong vuthecuong at luvina.net
Sun Dec 21 16:34:11 PST 2008


Thanks Deniz

You are right. At the night of yesterday I found that it was permission prob. My bad.

Thanks

 

 

From: Deniz Adrian [mailto:deniz.adrian at googlemail.com] 
Sent: Sunday, December 21, 2008 7:35 PM
To: cuongvt
Cc: magick-users at imagemagick.org
Subject: Re: [magick-users] strange prob with convert and php as frontend

 

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" <freebsd at vuhanhnhu.com> 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
	Magick-users at imagemagick.org
	http://studio.imagemagick.org/mailman/listinfo/magick-users



More information about the Magick-users mailing list