Heavy arms fire erupted in the capital Bangui on Wednesday, triggering panic among residents, with thousands streaming to the airport, where French and African peacekeepers are based and where tens of thousands of civilians have already sought shelter from the violence wracking their city.