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 winget
Scoop
scoop install main/php
Chocolatey
choco install php -y

Package 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 managerPackageVerified versionSource
wingetPHP.PHP.8.58.5.10Manifest
Scoopmain/php–Manifest
Chocolateyphp8.5.10Manifest

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

More Languages & SDKs