Made php work