It is recommended to use x64 builds of PHP as almost all Windows installations currently support x64.
Thread SafetyNTS 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 VersionsThe 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.
Download source code 30.09MB
Download tests package (phpt) 17.73MB
Zip 33.48MB
da68394f9193b7f6b89d0c76861a4034ae10efee7fd55a7255d8118c2acf70d7
SPDX|CDX
Debug Pack 39.87MB
80387f4d2c001b5033068a820273205e329a674f5a46e438ada4e6883a79bf72
Development package (SDK to develop PHP extensions) 1.35MB
0a36ffa9a12c3a15871428aafd53ef53778d1988f21730958e9a0a2baea2a3cb
Zip 33.51MB
6e56f0e932e92bfdce208d3a7e6068f6e2f7a19fc2922a5f856fb085f61673f3
SPDX|CDX
Debug Pack 39.97MB
f1da87a5a94ac97b89119b3da72c013b0c6b3a520bc9f28fe78f876c7937fb35
Development package (SDK to develop PHP extensions) 1.36MB
34de521ec706455e578b8a60343740056bb0532d3e1b82f440225354fd06e7b7
Zip 30.04MB
82dbaa361e035237a6ed0ade126f837798c7bf0565610b73ddb40986fc107128
SPDX|CDX
Debug Pack 40.27MB
f3177ec55a5fafba1c8c3f33cbe1757ebc9abec30d63565e3829ab29a453b7e5
Development package (SDK to develop PHP extensions) 1.36MB
1b086d6bf0f04eb6a105c92e9348ec8194d2f9e293bb16fec1b424791ac58914
Zip 30.11MB
d48e2e0b6ca6568216ad0123596323dc30d19c01f2353b507fc861c8b23d523c
SPDX|CDX
Debug Pack 40.34MB
649d6bffb0b98c434abe6a93242054ba5aa0ec6e8c60d29f473cdd0784f9b45e
Development package (SDK to develop PHP extensions) 1.36MB
cb424a65cdda740931b80e39c48819a7568d24088e4f4421ea6930b4ee35fd85