Initial pH, reaction time and concentration of TiO2 were optimized using RSM. The same by-products were formed using artificial or solar irradiation. Non-toxic by-products were obtained. TiO2/UV or under solar irradiation degrades efficiently FIP and its by-products.