I am running forever scripts, I want control them via a website.
if ($_GET['list']) {
$list = shell_exec("forever list");
echo ($list);
}
but the output is:
'No forever processes running'.
When I execute forever list
on PuTTY it's working. Su root
didn't help.