A powerful homemade bomb ripped through a roadside eatery in the restive southern Philippines on Wednesday, killing at least two people and wounding five others, police said.