Philippine authorities urged people in affected coastal regions to move to higher ground after the offshore quake hit south of General Santos.