i'm trying to run this shell command from inside my php program
$output = shell_exec('service dhcpd restart');
echo "<pre>$output</pre>";
this is the output i get:
Shutting down dhcpd: [FAILED]
Starting dhcpd:
that's it.... and when i run it from the shell directly it works fine.. any ideas??