Catalyzes the reversible ATP-dependent phosphorylation of mevalonate 5-phosphate to produce mevalonate diphosphate and ADP, a key step in the mevalonic acid mediated biosynthesis of isopentenyl diphosphate and other polyisoprenoid metabolites. {ECO:0000269|PubMed:16519518, ECO:0000269|PubMed:17902708, ECO:0000269|PubMed:8663599, ECO:0000269|PubMed:9392419}. This is the function of PMVK (phosphomevalonate kinase, ENSG00000163344).