Thanks Jochen, I suspected something along those lines. Unfortuntely *Nix is out of the question.
----- Original Message ----- From: "Jochen Daum" <[email protected]> To: <[email protected]> Sent: Friday, December 11, 2009 3:59 PM Subject: Re: [phpug] Running exec() on WAMP > Hi, > > > On Fri, Dec 11, 2009 at 3:31 PM, Aaron Cooper <[email protected]> > wrote: >> Howdy all, >> >> I'm trying to throw together a small image resizing app that will always >> run >> on a local WAMP installation for personal use. (Windows XP Pro). >> >> I have just installed ImageMagick on the machine to test image processing >> using the CLI as I have found that using GD through PHP is a bit slow. >> >> I have this simple command: >> convert "C:\IMAGES\Holding\*.JPG" -resize 600 "C:\Image\file1.jpg" >> >> Works fine when run from cmd. But when I try to run it in exec or >> shell_exec, nothing. >> >> Does anyone have any ideas what this would be or know of a way to get >> some >> sort of debugging info for what might be going on? > > > convert needs to be executable by the Web user, I'd have to look up > what that Windows user is usually called. Thats how much I know it. > > Admittedly I had the same problem recently, couldn't resolve it and > made a web service on a linux server ;) I was calling irfanview > however. > > HTH, Jochen > > -- > NZ PHP Users Group: http://groups.google.com/group/nzphpug > To post, send email to [email protected] > To unsubscribe, send email to > [email protected] > -- NZ PHP Users Group: http://groups.google.com/group/nzphpug To post, send email to [email protected] To unsubscribe, send email to [email protected]
