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 32.31MB
Download tests package (phpt) 18.34MB
Zip 34.38MB
0ea96e0d2b9b737a6036f05cf4e95c49313faa6d0f27bd97edb2742503f0c043
SPDX|CDX
Debug Pack 40.36MB
ba05f35aa56b6ce197e7d267b567e302343e714e3ba0914ffe58aa7fc57ef2e8
Development package (SDK to develop PHP extensions) 1.66MB
d85e734238d45d02ddc35b5bca4ab47ad12e005fad970c792c520683ae3b0f33
Zip 34.5MB
c83d5a1e0d760fb026ce695d8a70a73a4c81ac224b3e5c425406b23a7d53e1de
SPDX|CDX
Debug Pack 40.32MB
00db8777a49df4b34d221819ac8324d783cff376d68e8371a434d03f27d6230b
Development package (SDK to develop PHP extensions) 1.67MB
43f610861ced7b943437fe2808cfd720fde3341f461b1d441ea18bcd49ff711d
Zip 30.86MB
c51955ba7e3b4cf61db3d32091a721b1cdd0230ecebdad164098df215a4da6c5
SPDX|CDX
Debug Pack 40.83MB
818c205b9f10d21d43b134463a53623f608e53a92710f8da262f5f81f23d2080
Development package (SDK to develop PHP extensions) 1.66MB
057a7d8a0127cc3a64aad525d738ffea88e8de783e88194de04fa4684aaf80a3
Zip 30.91MB
f137da9dc16de3b6c096ceb1071a54630655af4de2e64f1fbf578cc91ba5bf4d
SPDX|CDX
Debug Pack 40.94MB
8ce18e883d35c5fc6961d4be80c501ff7bb411feda2f1f0a6032c2929f192990
Development package (SDK to develop PHP extensions) 1.66MB
e20174dacb5dab0bf81fbee6d9294a7bfc97aaf2884a908fad3deb0e85da6b6d