php -d disable_functions="" test.php
Thanks but I don't want to disable_functions="" because it's not secure enough.if you on cli. cronjob, you can do something like this.
and then you can use "proc_open" to start python program.Code:php -d disable_functions="" test.php
if running on front end, I suggest using "phpseclib" combined with "ssh publickey auth" to initial ssh session and you can execute "python test.py"