Hey guys, i have written a wake on lan script using ether-wake that i'm trying to call from php and i just can't seem to get it to work.
I've tried putting the actual execute code in a bash script and passing args like
exec ("/pathto/./wakup.sh " . $mac);
and i've tried calling it dirrectly
exec ("/usr/bin/wolcmd " . $mac);
I've double checked permissions and they are fine. I've double checked the scripts (bash) and it works just fine. I've tried using system() and shell_execute() and virtual() all with no luck. Safe mode is off and all the exec commands are not restricted. Has anybody seen this before?