Before anyone decides to tell me running php scripts as root is bad please read the next line carefully:
THIS IS A LAN ACCESS ONLY NO PUBLIC ACCESS.
now that said I’m trying to setup some php scripts to manage the lan dhcp server and a few other tasks and I have su php installed but not sure how to configure it to run the php files as root.
if anyone has done this before please guide me in allowing the scripts to run as root
What configuration have you tried so far?
Example configuration
http://www.suphp.org/DocumentationView.html?file=suphp.conf-example
Documentation
http://www.suphp.org/Documentation.html
You can also find information on how to setup for many linux distros on Google
Can you post more details, where are you struggling to setup it?