PHP 8.5.8 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.32)

Download source code 25.91MB

Download tests package (phpt) 15.88MB

VS16 x64 Non Thread Safe 2026-Jul-01 09:05:03 UTC

Zip 31.7MB
sha256: 44e561948d6e336ac91cba3e59f074b687e22d9ceb824056f28ed8dfbbfdbe35

Debug Pack 26.12MB
sha256: d4dc4bc8c45a38763cc85ad9838a67f901438375ec9d6c87dc5121f30cfc95ca

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

VS16 x64 Thread Safe 2026-Jul-01 09:05:03 UTC

Zip 31.8MB
sha256: b3985f246bc925fe5722769bb7402a68979a0b6487456691e24aa948ad2f38c5

Debug Pack 26.29MB
sha256: f8640cd9026bdb40b84c412b275b8ad45ee62f2667e8d6f177beab46858782cc

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

VS16 x86 Non Thread Safe 2026-Jul-01 09:05:03 UTC

Zip 28.58MB
sha256: 9eca7dbb3de5ab43acdf810fade0cfd52bc8ad6603bd84d69616d7020f57f218

Debug Pack 26.59MB
sha256: a834a19c245109a430e028e97d0280df201f24d1c215a30c1961c3200ccc59ca

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

VS16 x86 Thread Safe 2026-Jul-01 09:05:03 UTC

Zip 28.55MB
sha256: 72c4689fca0eaed1bfc4a17e1d50afddd381e21fb2a136e6f89d6aa2a159d3f7

Debug Pack 26.16MB
sha256: 195e0215875190ef88826fa9cc18884e794272c1f85900c0cd9b8b55b0d63832

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

To Top