The invention is dealing with inactivation of gram-positive and gram-negative patogenic bacteria and yeast under all aerobic conditions, allowing the light access by the photodynamic treatment using new types of phthalocyanine photosensitizers.