musicDevel
Joined: 21 Jul 2011 Posts: 10
|
Posted: Thu Aug 04, 2011 4:59 pm Post subject: Executing IceS command via php script |
|
|
Hi,
I'm attempting to execute the ices command - to start a new ices stream via php shell_exec() - but it's not working.
I am able to execute and get back correct data for a variety of common shell commands, like cd, ls, pwd, but ices just returns null.
Also, ping -V returns expected output, however ices -V returns null - when rung via shell_exec() - but does give expected output when run in shell as the same user.
What I've tried to no avail:
cd / then run ices
I've checked to make sure ices can run under the script user - runs fine from prompt after su
tried running as daemon
Is there something here that I'm missing?
Any and all help greatly appreciated. |
|