Aug-31-2017, 07:39 AM
It should be working. The source looks fine to me. I'm running it with "python pyp.py ./test.pyp" from my home directory. My index.py file only has the shebang and the php file is fine. I can execute the python file from the web page using php. If I manually write in the python file it gets executed. I pass variables from php to python with arguments and print statements from python to php. I'm not sure what's wrong. It also seems that I can't use if/else-if/else statements in php. I've double checked the proper usage and it just does not want to work so maybe it's external issues effecting it?