DHPS and pneumocystosis: In addition, DHPS inhibitors such as sulfamethoxazole are an effective treatment for Pneumocystis pneumonia (caused by the fungus Pneumocystis jirovecii).