Depends on the enzyme; for example, enzymes in your stomach require a low (acidic) pH. When the contents of your stomach enter your duodenum (intestines), the pH is neutralized with bicarbonate from....the pancreas or something, sorry my memory is fuzzy.
So, in the end, the enzymes are usually "denatured" by a change in pH, their proteins' shapes are changed, rendering them ineffective.