I use Open Server on Windows to raise lokalku. I use this code for the test:
$python = "C:\\Python27\\python.exe"; $cmd = "$python -V"; echo $cmd; echo system($cmd); echo exec($cmd); echo shell_exec($cmd); echo passthru($cmd);
In the end, none of the options do not display anything. Although if you execute cmd "C: \ Python27 \ python.exe -V", then everything works. What could be the problem