The world pledged $3.4 billion in new quake aid for Pakistan at a make-or-break donor conference Saturday, but aid groups warned that many of the promises were for loans that will heap more debt on the impoverished country.

Pakistan nonetheless hailed the conference as a success. The country's president, Gen. Pervez Musharraf, thanked the nearly 80 attending nations and international agencies for "helping Pakistan in this hour of need." He said the gesture would "never be forgotten."

The conference followed weeks of largely unheeded warnings from the United Nations and aid groups that thousands could die of hunger, exposure and disease unless money arrives before the harsh Himalayan winter.

Acute respiratory illnesses are on the rise among the 3 million people whose homes were destroyed by the 7.6-magnitude quake on Oct. 8, and there have been outbreaks of diarrhea, scabies, tetanus and other diseases.

The $3.4 billion in new pledges raises the total aid pledge to $5.8 billion -- slightly more than the government said it needed to rebuild from the quake. But about two-thirds of the money was in the form of loans, Prime Minister Shaukat Aziz said.

Aid groups said that meant the pledges were a mixed bag. Jane Cocking, humanitarian coordinator in Pakistan for the British charity Oxfam, said the new debt would be detrimental in the long term to those suffering from the quake.

"Oxfam fears that today's pledges will prove to be short-term solutions for the long-term needs," Cocking said. "The international community risks heaping even more misery on survivors by increasing the debt burden of Pakistan through these reconstruction loans."

The United States, which counts Pakistan as a key ally in the war on terrorism, nearly tripled its aid pledge to $510 million, including $300 million in cash.

Musharraf said the calamity provided "an opportunity of a lifetime" for overcoming disputes between Pakistan and India. The nations have fought two wars over Kashmir, which is divided between them but claimed in its entirety by both.

After the quake, the two countries agreed to open five crossings on their militarized frontier to facilitate the flow of relief and let separated families reunite.