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.33MB
Download tests package (phpt) 17.96MB
Zip 33.66MB
dbae154a0a89791f36c3d48e68bae797878333e7d6cb5721e74617de59b63ab7
SPDX|CDX
Debug Pack 40.53MB
1f96fc34db1c92df82f5ef57381109e1b9b6316594daf2572119a15f206d4e19
Development package (SDK to develop PHP extensions) 1.36MB
e5f610141b9686ee13f93add3c9e9dd7996bedde7e431f2a334dbfa106f14dad
Zip 33.82MB
53db2047139bdfb8e6c7c7d5860a0a6a2a4f1dcac49fcf18ae610a14d8ccdf5b
SPDX|CDX
Debug Pack 40.74MB
faf3895b726212f81edffc82aa39a6dad8a30b17347077e29fbe47ff78309705
Development package (SDK to develop PHP extensions) 1.36MB
f712946909d85eac71f50de8fd78462df9c78174a3b4d79c613f5090aa342c9f
Zip 30.32MB
136209338d26807614afdaf4708cdd6fd9b7699446971bc31ef9d6dfab552c59
SPDX|CDX
Debug Pack 41.39MB
9ad6f621f47403aea16a0bdb4502834ff102d55b79832f829b1302a710c9302f
Development package (SDK to develop PHP extensions) 1.36MB
2c3f5996342319d970ce5b743886320085dbafb6847ec851b2dcf95cce06f35d
Zip 30.39MB
a1ca9dd642bc9c5bf707bbf704d57b79ac94984cdff8a17cfcf9d8565d9c917b
SPDX|CDX
Debug Pack 41.46MB
68dc1ab810ea8c2396441049f3355593995d5729f8ba2c9242d00b79423209ce
Development package (SDK to develop PHP extensions) 1.36MB
d0d844c0ba23b0a754395342afb162970698a2cc368ca4a00b4ea82ea11944ef