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?

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

Reply via email to