7

reload apache from a php script

view full story
linux-howto

https://www.centos.org – I just was able to fix this.Actually php exec('whoami') was working but the httpd command was not. So after allowing apache to run commands with visudo and then ##Defaults requir... [by hercent] (HowTos)