Hi! 🙂
I'd like to start my PHP script as a certain user. This is why, I need to have the possibility to modify certain files in the filesystem; currently, my apache runs as "nobody", so the PHP script runs the same, and I'm able to modify the files (and launch bash scripts) only if they have user nobody. What I'd like to do is to maintain apache running as nobody, as well as the other php scripts, and make my script to run as, say, root. Or something lesser. Anyway, I could bear that all the PHP scripts run as root; but not the webserver itself.
The question is: may I? And if so, how?
Have a nice day,
Mano 🙂