Under what conditions would a protein denature?

heat and pH (definitely acidic solutions but probably basic ones too).