title: Running python script from php
body: <p>I am trying to run a python script from php.</p>
  
  <pre><code>exec("../cgi-bin/form.py", $output);
  var_dump($output);
  </code></pre>
  
  <p>I'm certain the path is correct, and that form.py is executable.</p>
  
  <p>this is form.py</p>
  
  <pre><code>#!/usr/bin/env python
  print "IN form.py'
  </code></pre>
  
  <p>However, this prints out NULL. I don't think the script is being executed. How do I make sure it is? </p>