Jump to content

Shell_exec - need to change logged in user


jkpolsar

Recommended Posts

Hi,

 

I have a problem using shell_exec and I think I've narrowed it down to PHP trying to execute the command as user "apache" instead of "root" or the user who created the file I'm trying to edit "videogam"

 

How do I change the user executing the unix command through shell_exec to "videogam" instead of "apache"?

 

Thanks!

Link to comment
https://forums.phpfreaks.com/topic/82868-shell_exec-need-to-change-logged-in-user/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.