mongoDB PHP config registration