I want to execute any command from php file. I have one nodejs file and when I give command to execute something. it works fine. i.e. abc.js argument this works fine from terminal and execute some task
but, I want to execute same task from php file which runs my command. I tried with exec('filename argument') that does not work. If I give exec(ls -l) that gives me output.
Please let me know your suggestions.
Thanks
shell_exec? php.net/manual/en/function.shell-exec.php