calling php from python,"subprocess.call(['php', 'path/to/script.php'])"