moving configs into php