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 26.76MB
Download tests package (phpt) 16.71MB
Zip 30.76MB
42637b42b38b9c0d731e59c5cb8b755693a01b110cd2f31951f67de5cb4cd129
Debug Pack 30.56MB
b8641a6b9d56c37c206e3db7b753f3d0363ac160b8af4b4b14d5db8f747e89bc
Development package (SDK to develop PHP extensions) 1.26MB
1d70c81e6aa835104122519c1a96ef653cc6d4e255025efeb79699dc79285c2f
Zip 30.91MB
606c69912d7a1fbd9215ad5b6941e081d0cc12fce7f00b95d612da032244f45f
Debug Pack 30.46MB
d907554159f043fbc37be0de22e63177a2e3a9201dc5931add47ec420a53728d
Development package (SDK to develop PHP extensions) 1.26MB
00d834344e841ee08a8e4067cfe0425313677dbb7e0a6b9fc99a510194e922c5
Zip 27.62MB
0fa4d5d4711ec28df0909ef20092407a8480c52b0e2587fc0f280379d2ce61ce
Debug Pack 30.55MB
3e213ffc473694992f8b7ea5cd54e2fe1a92cbcc688c5a6fa3208d93645c6bad
Development package (SDK to develop PHP extensions) 1.26MB
2431f8b4ce2f30172976060c05787e045a4265967750e1c1138cf2769ca8cd1c
Zip 27.61MB
c34ce725f12c2f567e381896a54c29241748850d7b362085151e0a3529c6ccad
Debug Pack 30.27MB
922d877593b4f6e54225265db6b965ed6a5bc6803920d8bec0f436788d665ad9
Development package (SDK to develop PHP extensions) 1.26MB
71e80af94434fd1aa00e778ed2ba39096a07253751e186bda3a3113a9fafd729