Dec 4, 2003 #1 vladibo Programmer Joined Sep 14, 2003 Messages 161 Location CA I want to run PHP script that runs system command. But that system command required root permissions. What shall I do, to make it run from apache? Thank you in advance.
I want to run PHP script that runs system command. But that system command required root permissions. What shall I do, to make it run from apache? Thank you in advance.
Dec 4, 2003 #2 sleipnir214 Programmer Joined May 6, 2002 Messages 15,350 Location US On what OS? If a unix-like OS such as Linux, you could configure the sudo system to allow the apache run user to run the command. Want the best answers? Ask the best questions: http://www.catb.org/~esr/faqs/smart-questions.htmlTANSTAAFL!! Upvote 0 Downvote
On what OS? If a unix-like OS such as Linux, you could configure the sudo system to allow the apache run user to run the command. Want the best answers? Ask the best questions: http://www.catb.org/~esr/faqs/smart-questions.htmlTANSTAAFL!!