I am executing python file through php code in my local host
<?php
$out = array();
$execute='C:\wamp\bin\apache\Apache2.2.11\cgi-bin\test.py';
exec ("$execute", $out);
foreach ($out as $value) {
echo "$value<br />\n";
}
?>
#!/usr/bin/python
import cgi, cgitb, os, sys
cgitb.enable(); # formats errors in HTML
print "helloworld"
it correctly working in localserver
but when i hosted in webserver its not working
how can i give path of cgi-bin in my webserver