Re: Re: system command runs application, but application doesn't work correctly

From: Date: Sat, 19 Jan 2008 17:02:53 +0000
Subject: Re: Re: system command runs application, but application doesn't work correctly
References: 1 2 3 4 5 6 7  Groups: php.general 
Request: Send a blank email to php-general+get-267639@lists.php.net to get a copy of this message
On Fri, January 18, 2008 4:49 pm, Apple7777 wrote: > I wonder is it possible to run system() command, so mencoder will run > as from > root (user "500") and not PHP (user "43"). No. system() versus exec() has nothing to do with which user runs it. They only differ in how they handle input/output to your script. exec is the most flexible, so use that. > Maybe that's the problem? If would be a HUGE problem if PHP could run as root, at all. [shudder] -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some indie artist. http://cdbaby.com/from/lynch Yeah, I get a buck. So?

« previous php.general (#267639) next »