Member of the two-component regulatory system PhoR/PhoB involved in the phosphate regulon genes expression. PhoR may function as a membrane-associated protein kinase that phosphorylates PhoB in response to environmental signals. ATP + protein L-histidine = ADP + protein N-phospho-L-histidine.