Yes, I know its not safe but does anybody know of a way to restart apache from a php script on a linux box? This is for internal use only so I don't need all the warnings of security.. I know what i'm doing and the risk is poses.
I've been trying `service httpd restart` but apache doesn't have permission to do that. I can't pass a password to sudo to change to root (or at least i haven't seen a way to do it).. anybody got any ideas?
-Dustin
Rom 8:28
I've been trying `service httpd restart` but apache doesn't have permission to do that. I can't pass a password to sudo to change to root (or at least i haven't seen a way to do it).. anybody got any ideas?
-Dustin
Rom 8:28