Reordered site-update script to apply phpversion and aliases updates first.