pentan Posted July 1, 2006 Share Posted July 1, 2006 Hey guys,I know ImageMagick is installed. When I use this command in my PHP script:[code]exec("convert",$out);echo "<pre>"; print_r($out); echo "</pre>";[/code]I get the info on convert. But when I use this command nothing happens:[code]exec ("convert -geometry 20%x20% 'MA5.jpg' ./thumbs/'MA5.jpg'");[/code]What am I doing wrong? The exact same command, cut and pasted in my telnet window in the same directory as the php script works exactly right. Thanks,Michael Link to comment https://forums.phpfreaks.com/topic/13390-imagemagick-not-working/ Share on other sites More sharing options...
pentan Posted July 1, 2006 Author Share Posted July 1, 2006 Never mind. I was half asleep last night when I set it up and I forgot to set the new folder, thumbs, permisions so that the web could write to it. Michael Link to comment https://forums.phpfreaks.com/topic/13390-imagemagick-not-working/#findComment-51740 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.