UV photodestruction of some interstellar molecules is studied in different kinds of ices. CH4, CH3OH, NH3, CO2, CO, and HNCO are photolyzed as pure ices, or mixed with water or molecular nitrogen, at about 10 K. The destruction cross sections of these molecules are estimated for use in photochemical models of interstellar ices. We show that the destruction rate depends on the ice in which the studied compound is embedded.