title: Execute php script from Python script
body: <p>Here I'm trying to execute a PHP script using Python but I get </p>
  
  <blockquote>
    <p>Error : php not found</p>
  </blockquote>
  
  <p>Should I have to install lammp(I'm using lubuntu 16.04) or is there any way to execute it directly without doing installation?</p>
  
  <p>Here is my Python Script for calling php script.</p>
  
  <pre><code>import subprocess
  #subprocess.call(["php", "textcleaner.php","bill.jpg out.jpg"])
  proc = subprocess.Popen("php textcleaner.php, src.jpg", shell=True,stdout=subprocess.PIPE)
  script_response = proc.stdout.read() 
  </code></pre>