从Python脚本执行php脚本

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() 

You must install PHP to execute php scripts on your system.

Either you don't have php installed or your python can't call the php library without a direct link.

If you don't have it installed you need to install it

apt-get install php5 libapache2-mod-php5

Or if you do have it installed change php to /usr/bin/php