Re: exec / shell_exec issues

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Saturday 30 July 2005 10:17, leonski wrote:
> Jason Wong wrote:
> > On Saturday 30 July 2005 08:49, leonski wrote:
> >>  sh: line 1: /usr/local/bin/mogrify /tmp/phpS1KCen -resize 320x240!
> >> : No such file or directory sh: line 1: /usr/local/bin/mogrify
> >> /tmp/phpS1KCen -resize 95x72! : No such file or directory
> >>
> >>beats me how it gets inside the if, if it doesn't exist!
> >
> > I think the error message is trying to tell you that
> > "/usr/local/bin/mogrify" does not exist.
> >
> :-( yeah it does and it works under the terminal (nicely I might add,

That error certainly does not come from mogrify. Just perform these simple 
tests:

1) /usr/local/bin/command-that-does-not-exist

2) mogrify file-that-does-not-exist; #assume mogrify in $PATH

As Robert has pointed out, it is probably telling you that the file 
"/usr/local/bin/mogrify /tmp/phpS1KCen -resize 320x240!" does not exist.

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
New Year Resolution: Ignore top posted posts

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux