Install PHP on Windows: PHP now available on Winget
WinGet is a CLI tool to search, install, update, and remove applications on Windows 10/11 and Windows Server 2025. Winget now supports installing Windows PHP binaries.
Sourced from windows.php.net, all current supported PHP versions are now available to install using winget
.
As of now, winget
supports installing PHP 8.1, 8.2, 8.3, and 8.4. As part of the recent release cycle update PHP 8.1 will receive security fixes until end of the year 2025, and newer versions providing longer support.
See How to install PHP on Windows using Winget to a complete guide.