Well, without knowing dimensions it is hard to point in 100% clear answer. However, the first I could think of is that distance ("pitch"=centerline-to-centerline) is 0,1" or 2.54 mm. It could also be 2.5 mm, but likely not too different (based on eyeball-scale view relative to the other parts nearby). In general, such connectors may be called "header" connectors.
I guess, you are able the true pin pitch more exactly than it can be guessed form a photo with unknown parallax error, but anyhow, we can see that it's 2.0 mm. So yes, looks like JST PH or compatible.