Install using Windows Terminal (or PowerShell):
> winget install xampp
PHP - Manual: Windows 下的 PHP 安装程序工具
2025-01-21
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
官方地址:https://www.php.net/manual/en/install.windows.tools.php