No input file specificed w/ PHP+Python

software development

#1

Hi,

I have a Python function that calls a PHP script using commands.getoutput(). (I’m using the PHP script because it comes from Authorize.net and I don’t have time to reprogram it in Python.) I have compiled my own php5 because the script needs mhash. It seems to work fine either just calling the PHP script from the CLI or calling it with getoutput() in the Python interface. All it does is output some html. However, when I use it in my web app, the only output I get is “No input file specified”. And I get incomplete header errors in my logs. Can anyone point me in the right direction or at least give me some debugging hints? Thanks!


#2

I know absolutely nothing about Python, but the above PHP error usually indicates that the PHP file in question can not be found. Are you certain that you have the correct path to the file?

Mark


Save [color=#CC0000]$50[/color] on DreamHost plans using [color=#CC0000]PRICESLASH[/color] promo code (Click for DreamHost promo code details)