Zisu
Zisu

Reputation: 497

How to enable exec function from php.ini at google app engine

How to enable exec function from php.ini at google app engine my php code

echo 'test';
 $item='example';
    $tmp = exec("python test1.py $item");
    echo $tmp;

my python code

import sys
print sys.argv[1]

exec function not working

Upvotes: 0

Views: 438

Answers (1)

Tom
Tom

Reputation: 1613

It is not possible to run exec() on App Engine PHP.

However, you can deploy a python application if you want to?

Or, as another option you can deploy a python application as a module and call it from your PHP code via a web service URL

Upvotes: 1

Related Questions