php wraper for ndb_mgm command