Change config to php array.