Install PHP on Windows
PHP scripting language for web development.
Install commands
Open PowerShell or Windows Terminal and run one of these commands to install PHP.
winget
winget install --id PHP.PHP.8.5 --exact --source wingetScoop
scoop install main/phpChocolatey
choco install php -yPackage details
- Category
- Languages & SDKs
- winget
PHP.PHP.8.5- Scoop
main/php- Chocolatey
php
Package sources
The script installs exactly these packages. Versions are the latest ones recorded by the automated catalog check on 2026-09-14; they are used when version pinning is enabled.
| Package manager | Package | Verified version | Source |
|---|---|---|---|
| winget | PHP.PHP.8.5 | 8.5.10 | Manifest |
| Scoop | main/php | – | Manifest |
| Chocolatey | php | 8.5.10 | Manifest |
Install PHP together with other apps
Add this app to a WinMate selection to install it together with the rest in one script and with a single administrator prompt.
Add to my install script