Switched config to php