Removes duplicate php versions.