On the command line, run the following commands:


# Download and install Chocolatey.
powershell -c "irm https://community.chocolatey.org/install.ps1|iex"

# Download and install PHP.
choco install php --version= -y