Nearly 17,000 families were displaced by a typhoon that hit several parts of southern Philippines.