Hello, pH is the concentration of hydrogen ions in the solution. So any metabolic pathway which can act on hydrogen ion concentration can have an influence on pH. Bacteria can change their environment and react to it, we were able to understand a variety of interactions within populations as well as interactions between different species. Although the interaction outcomes were quite different, they were all mediated by a single environmental parameter -the pH which shows that even a rather complex set of interactions can be mediated through the same environmental parameter.
See the link below, may be useful for you.
Article Modifying and reacting to the environmental pH can drive bac...