Here I'm trying to execute a PHP script using Python but I get
Error : php not found
Should I have to install lammp(I'm using lubuntu 16.04) or is there any way to execute it directly without doing installation?
Here is my Python Script for calling php script.
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()