Install using Windows Terminal (or PowerShell):
> winget install xampp
Si quiere configurar PHP y está usando IIS, la forma más fácil es usar » El instalador de la plataforma web de Microsoft (WebPI).
» XAMPP, WampServer y BitNami configurarán las aplicaciones PHP para su uso con Apache en Windows.
La configuración de Nginx en Windows requiere un poco más de configuración. Vea la » documentación de Nginx para obtener ayuda adicional con la configuración.
Install using Windows Terminal (or PowerShell):
> winget install xampp
For whatever reason, the stated version of WebPI on Microsoft's website is out of date. They list version 5.0 whereas the latest installer is for 5.1.51515. The installer is fine, but the website version caption is wrong.
Also, it's possible to automate this install using winget:
winget install --id Microsoft.webpicmd