Get php and input working. Need to fix jinja/virtualenv problem