apache22 as root

Hi all,

I'm trying to write some scripts on PHP to administer easily FreeBSD but I must start or load httpd listener thread as root not as www to permit my script to change something in the system. Does anyone know how to do that?

Thanks.
 
For your own safety, don't. Use something like suexec. And please, make sure your PHP scripts don't contain any command injection bugs or you'll be in a world of hurt.
 
Back
Top