Member of the two-component regulatory system PhoP/PhoQ that plays a role in the regulation of resistance towards polymyxin B and cationic antimicrobial peptides in response to limiting concentrations of Mg(2+). Functions as a transcriptional activator by direct binding to a cis-acting sequence upstream of the target gene promoters including oprH and pmrH promoters