Updated PHP Windows builds for Brotli security fix

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.12-1)

Download source code 32.58MB

Download tests package (phpt) 18.59MB

VS17 x64 Non Thread Safe 2026-Oct-26 13:05:05 UTC

Zip 34.63MB
2a36a2edcb7a5b9252f638fd5e4cf84d7f6e066092654220dc0b63e5cf4e9723 SPDX|CDX

Debug Pack 41.34MB
cbd367519ecf9f88028d9f4ff7a8a7ce2347177305380bd6121d4576b4a003ea

Development package (SDK to develop PHP extensions) 1.67MB
c0d9632a542e11578bc1374fb9e30ba4c5589e1977023e7d3b76cc4c1e4f61c6

VS17 x64 Thread Safe 2026-Oct-26 13:05:05 UTC

Zip 34.76MB
0dacd6484b092b5e9ae9fa3d7f96a937caf9d874eee2d980b68ed3129741144a SPDX|CDX

Debug Pack 41.54MB
c0a8a9a97aea2bda94011a6316a58714ea18421b7f509242bd992d90c66c2b5a

Development package (SDK to develop PHP extensions) 1.67MB
52cb020402c3165e7cb37ec0d96ae43e26997f01d0fdb5474aa92801246810e9

VS17 x86 Non Thread Safe 2026-Oct-26 13:05:05 UTC

Zip 31.13MB
3a8af36358704905feaf346d63ee2d3f70474689ff74f028fa9c8c66008ca01d SPDX|CDX

Debug Pack 41.97MB
c9bd8b17be0055a48aabd5b6ae46d15edd74fb62f471bfe513ffaa2c845991a1

Development package (SDK to develop PHP extensions) 1.67MB
2f2b3a04003575ad263f09db41b05987b85548277cb1311e2a1a9d51d91142d9

VS17 x86 Thread Safe 2026-Oct-26 13:05:05 UTC

Zip 31.18MB
c08cc8930824ec2cf0654aaeb174c7475a84eca39c0ceefaa1eaaf1fe0564d93 SPDX|CDX

Debug Pack 42.01MB
452f825b5e67f7853a502e1cd5d79d904e5ff29889342a692bfc64c177b1fff7

Development package (SDK to develop PHP extensions) 1.67MB
f77636336c3a6567f2c2cc95a0fc16fcd3b812146e1bebfbe2ad04abe32da472

To Top