Two nearby residential houses and a secondary school were destroyed by the explosions, the prime minister said.