The invention relates to fungicides and can be used for treating diseases caused by fungi, and also for preventing fungal damage to various materials and agricultural products. Claimed is an agent against fungal infections which is in the form of salts of 2,4-dioxo-5-arylideneamino-6-methyl-1,3-pyrimidine, where R is 4-NO2, 2-OH-5-NO2, 2-OH-3,5-Cl2, 5-Br-4-OH-3-OCH3, 2-OH-5-Cl, 2,4-Cl2, 3,5-Br2-2-OH. The result is an agent against fungal infections which has a broad spectrum of activity and is highly soluble, rendering it more effective for use in the form of solutions.