Reply to Re: [PHP] exec / shell_exec issues

Your name:

Reply:


Posted by Jason Wong on 07/30/05 05:50

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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация