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.19MB
Download tests package (phpt) 18.23MB
Zip 34.35MB
22ec430195984d233eb9e62c637a945bbcda06efca2f392d9d96d62c6acd34f8
SPDX|CDX
Debug Pack 40.15MB
03d79170be347ef757b9f62c7472841f107757c5efb8c6a741bb182a4cd2ba3b
Development package (SDK to develop PHP extensions) 1.66MB
b277dafab9654b23dec28fdebe47385248fdd33bbe8ecdc33b8681ef1b5c7788
Zip 34.49MB
a6bc8b2f3d7bfb397ccb973db2f959e61e530e0986c9cea262dd4a317ec599d8
SPDX|CDX
Debug Pack 40.31MB
6ee6f1c0e3e650b0ac02b8ed75d0aacac4cbaa942f979e143e63d68566126eb3
Development package (SDK to develop PHP extensions) 1.66MB
0031d279f13f21e81fd62f9a98e919f28b1875ba457916d60daed85586e479dd
Zip 30.84MB
de135a1dec0cca14d47865c957cf6dc40286a7859704488e153042b500387776
SPDX|CDX
Debug Pack 40.81MB
d7f6a6c3ddbeacc9597a3fdccde69dbdc953ecab11e0327486c32c5f649c2c32
Development package (SDK to develop PHP extensions) 1.66MB
9a14eff4db750ac0cd4371774e9160a398c568faffed84fa8b356c9f8e301fb7
Zip 30.89MB
e6a2ab0fd73f83996ba1bb0b7520aec2c0455786682a16300f6f1e6f87fe7a39
SPDX|CDX
Debug Pack 40.87MB
a8574a36eeac714be059e230d9140776a325a38d0c62461b14e4de7c419de265
Development package (SDK to develop PHP extensions) 1.66MB
e1f7442ce07b6374c71c6b81fed6a3b72a24364b9fde5a8e16a603f12df946b6