I have setup the bash feature on my Windows 10, it works well but I can't figure how to use it with PHP, despite a lot of research. I would like to use a popen like this :
$fp = popen("tail ".$file, "r");
But the error.log says that tail is not recognized as an internal or external command. PHP don't recognize any bash commands but they are working in a shell. I have try to edit the environnment variables, the PATH but nothing...
I would really appreciate some help, thanks !
/bin/tailor/usr/bin/tail.