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?
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.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.