I want to execute python script from PHP. I use system("C:\python.exe. pythonfile.py ) in PHP to execute it, it executes fine but for only small scripts. My python file takes around 5 minute to execute a code, but looks PHP only execute small scripts, can anyone help me, how to execute long python scripts from PHP & get return value from it.
Thanks