Builds PHP so that multiple versions can be used in parallel.