update page now
PHP 8.5.6 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.2 (8.2.31)

Download source code 25.8MB

Download tests package (phpt) 15.88MB

VS16 x64 Non Thread Safe 2026-May-05 17:05:24 UTC

Zip 31.81MB
sha256: 941bd3b87683eb16d5ffa7f5997de9a5e07ef08ba875048e5c4d95b4fc778162

Debug Pack 26.38MB
sha256: dcef4e78b45522aa5ecf851a47435db0b57aa51345e29681e723e355e6576f4c

Development package (SDK to develop PHP extensions) 1.24MB
sha256: 1a24da55c740541b11f694c1ca9c00bfe6e8c4e22ebb729d8d50ff63e9da0683

VS16 x64 Thread Safe 2026-May-05 17:05:26 UTC

Zip 31.92MB
sha256: b0c2883017316528cc927f49fd31750baab3b52523c301644454c2f89c4b3de1

Debug Pack 26.45MB
sha256: 47ddba47fdc75632faac8e8db000c14b4ac77df08fe4485e81ec6da0bab6eb1c

Development package (SDK to develop PHP extensions) 1.24MB
sha256: c6f2238ad50d297cafc6b7ebeaafba9c908b616cd7121a77484870fe53682a8c

VS16 x86 Non Thread Safe 2026-May-05 17:05:22 UTC

Zip 28.64MB
sha256: 7e12f0da52d709f6d15d6acb90a0b7d50132abf3fec5fb90e879a5243c204e33

Debug Pack 26.82MB
sha256: cee925f80a1c4e627768d1979d2d61b5dc70e1e6814c25e39e0ff4860d77f3a6

Development package (SDK to develop PHP extensions) 1.24MB
sha256: 9ae133bec63a05f9b50029d35b0c234866c29c066f81dba4012c0c9ad4096af1

VS16 x86 Thread Safe 2026-May-05 17:05:24 UTC

Zip 28.62MB
sha256: 136d39b91c904d111c7f921da044cecfa71cde4ee53609f1fbf1e08d9633b69e

Debug Pack 26.47MB
sha256: 98358491d24fc89dc568f3de4fabf8ff09f0833518e3ccef2f5df44df746e6cf

Development package (SDK to develop PHP extensions) 1.24MB
sha256: 765d44c52e552cacc8cd63500f0fa97af4e1f3a9f9b48721d74bd3625af5ffac

To Top