convert not found
Posted: 2014-06-03T06:27:50-07:00
Hi,
I'm using the image magic for the image crop and resize. when i was uploaded code to my client server and try to upload the image then error log show me message like "
convert not found "
I use the bellow code in my php file to execute
$convertthumb ="convert ".$path.$fileName." -resize ".$widths." -gravity Center ".$userthumb."";
exec("".$convertthumb."");
error log show me the message
[Tue Jun 03 06:12:18 2014] [error] [client] sh: , referer: http://example.com/users/edit-profile-pic
[Tue Jun 03 06:12:18 2014] [error] [client] convert: not found, referer: http://example.com/users/edit-profile-pic
[Tue Jun 03 06:12:18 2014] [error] [client] , referer: http://example.com/users/edit-profile-pic
I'm using the image magic for the image crop and resize. when i was uploaded code to my client server and try to upload the image then error log show me message like "
convert not found "
I use the bellow code in my php file to execute
$convertthumb ="convert ".$path.$fileName." -resize ".$widths." -gravity Center ".$userthumb."";
exec("".$convertthumb."");
error log show me the message
[Tue Jun 03 06:12:18 2014] [error] [client] sh: , referer: http://example.com/users/edit-profile-pic
[Tue Jun 03 06:12:18 2014] [error] [client] convert: not found, referer: http://example.com/users/edit-profile-pic
[Tue Jun 03 06:12:18 2014] [error] [client] , referer: http://example.com/users/edit-profile-pic