Photosensitisation by voriconazole-N-oxide results from a sequence of solvent and pH-dependent photochemical and thermal reactions.