update page now
PHP 8.4.20 Released!

Downloads & Installation Instructions

I work with , and use

Instructions

Architecture

It is recommended to use x64 builds of PHP as almost all Windows installations currently support x64.

Thread Safety

NTS builds are for single-threaded use cases, typically PHP running via FastCGI or on the CLI. TS builds support multithreaded SAPIs and are intended for PHP loaded as a web server module. So, if you want to use PHP as FastCGI with IIS, use the Non-Thread Safe (NTS) builds of PHP, or if you want to use the Apache HTTP Server, use the Thread Safe (TS) builds of PHP.

Visual Studio Versions

The builds below are built using Visual Studio 2019 (VS16) or Visual Studio 2022 (VS17) compiler. They require the Visual C++ Redistributable for Visual Studio 2015-2022 x64 or x86 installed.

PHP 8.5 (8.5.5)

Download source code 31.76MB

Download tests package (phpt) 18.07MB

VS17 x64 Non Thread Safe 2026-Apr-07 19:45:32 UTC

Zip 33.74MB
sha256: 107f64f689eec2a0966b4d8a42f0e34e8dfa04c5097c9548e35fb951cba0a464

Debug Pack 39.48MB
sha256: 253a0370018dee9d638d437444871c58bfed85e88c0b14065d7e0058fb46f8f8

Development package (SDK to develop PHP extensions) 1.64MB
sha256: 7ec570475fc8f1d825a1263328c84e059a9d49613667f754ddf32d88b4fafb02

VS17 x64 Thread Safe 2026-Apr-07 19:45:32 UTC

Zip 33.87MB
sha256: b4099a15cd3fc797d007282fff793ebbd65127cb2a9caf5c7eb9254c30b95098

Debug Pack 39.6MB
sha256: ac4351c097b36b9dd5d96a332f8bd36d54ac71e37c671c872d55e3227789fdd3

Development package (SDK to develop PHP extensions) 1.64MB
sha256: 95c68a6d78d749f7153f5c5606a5902445936cdcf869443815628682ed0af6b7

VS17 x86 Non Thread Safe 2026-Apr-07 19:45:34 UTC

Zip 30.27MB
sha256: abc9f14bc0771fcb62f4c379abebe0fb43a399f5e45aa258b01ae291eb6d2cb1

Debug Pack 40.46MB
sha256: a576f47b4b999017d346d939853d596a79151a432ae03e18cb584811dafa6ccc

Development package (SDK to develop PHP extensions) 1.64MB
sha256: 39e9646ee6e238691b70f8390a0d4e1671ee18366e6c9c1f5678b782e4bbe38f

VS17 x86 Thread Safe 2026-Apr-07 19:45:32 UTC

Zip 30.32MB
sha256: a3c0c41887d4b1e92fadccb8eac3dbe5888afd9b5de1cbaa7ec18afd1515a30a

Debug Pack 40.46MB
sha256: 96fb6cdefd16fa249b8ef3299c6164c1cfb117e4ba7f22eb845cec6da7c1609c

Development package (SDK to develop PHP extensions) 1.64MB
sha256: d3a8535c3abded1c21ab06fa0724f4656b2771aa4b01a3d5024a04e8bcd40619

To Top