check installed php version before install to allow php version updates