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 29.92MB
Download tests package (phpt) 17.58MB
Zip 33.45MB
86470a30cbbaeafb259e727dfa5cd336f2f3f0a462cd6f8e3eac00fdbded13cb
SPDX|CDX
Debug Pack 39.52MB
f75bfb7be18192b8966e94df853691043972f5b34f7087b76d2c5126ad9eb6fc
Development package (SDK to develop PHP extensions) 1.35MB
11ba8f24e5ed779025c8634a7b9cab44f5b20769007df44abbbc9fdc7cb5da5f
Zip 33.48MB
7b57fc9840273ab153834d0e2bd06e0bcf4fead36e381182b4b8fe9cedff3174
SPDX|CDX
Debug Pack 39.42MB
c42a7dcb6bf2c03c36b86b8d407e487dd3b765dbfb770f408bbe94236a814cd3
Development package (SDK to develop PHP extensions) 1.36MB
893f5b8ffe515eb07c080e1bdba8cbb0ddf935c76fc1088ddbe46d46f528236c
Zip 30.02MB
42f00095f1ee7bd85a12f0be48fc30be3d1ea4a93423de560b83da5521242305
SPDX|CDX
Debug Pack 39.86MB
659cc530b571af71a96e20614ea47c24bf4f3bc1c0474ffa2b53bf0d23317f8c
Development package (SDK to develop PHP extensions) 1.36MB
9d4249e342bc99549ecbc732600a9b86bfa1a608c4c3092664e10d7850e88b32
Zip 30.08MB
f4d04d99aed1e7d93f7c452eb99b31741ade48a80308e8210414aafbd23d10b3
SPDX|CDX
Debug Pack 39.94MB
968c36a8c4bef2e366c5ded34b2d582a51f99979bee779318f77711ac36782c8
Development package (SDK to develop PHP extensions) 1.36MB
17ce0c33671f80c2d8aa8baab254a05d783a8b90e3c72ab65ff318672d304e31