The European Union's border agency Frontex says the number of migrants entering the EU hit another record in July, with mostly Syrians and Afghans entering Greece from Turkey.

Frontex chief Fabrice Leggeri said Tuesday it's "an emergency situation for Europe that requires all EU member states to step in." He urged the EU's 28 nations to provide more help for members Greece and Hungary.

Frontex says 107,500 migrants were detected at EU borders in July — the third consecutive monthly record and the first time monthly entries have surpassed the 100,000 mark. Nearly 340,000 migrants were spotted at EU borders up to July, compared to 280,000 for all of last year.

Almost 2,350 migrants have died crossing the Mediterranean this year, according to the International Organization for Migration.