vagina pH and STIs?

m
I’m curious to know, will your pH always be thrown off balance (more acidic or basic than normal range) if you have some sort of an STI as an indication that something’s wrong?