Fixing server vars, adding symfony environment to attributes.