exec & shell_exec not working with vlc -I rc command
I wish to do recording of the live http streaming on the server side. I am able to do the recording on server via ssh and then writting the vlc -I rc command But when i write the same command in the exec function like :- exec("vlc -I rc REST_OF_THE_COMMAND"); IT doesnt works , But exec("ls -l") & exec("pwd") works
So my problem is that vlc command line is not working with the exec or shell_exec function.
Please check this answer (relates to executing commands from PHP). Once you know the exact problem, then it is easier to find a solution.