Two Germans held hostage by Islamic militants in the southern Philippines for six months were released on Friday, the Philippine military chief said.