Methods to upgrade PHP agent (Linux/Windows)