Python and executing php files?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/2931061/start-local-php-script-w-local-python-script">Start local PHP script w/ local Python script</a>  </p>
</blockquote>



<p>How do you execute a php file and then view the output of it?</p>

<pre><code>os.system("php ./index.php")
</code></pre>

<p>Does not work only returns <code>0</code></p>
