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 27.04MB
Download tests package (phpt) 27.04MB
Zip 32.14MB
798ffa4b9ce22a820d57048e9695df7245bf917ed067917f256942a10918a8cc
SPDX|CDX
Debug Pack 26.25MB
b4e652645ef1412a15bf0297a1b720706ea0b74e9ae3e82c0b7676d36447848c
Development package (SDK to develop PHP extensions) 1.24MB
c32276dac326b97c6be3d67c01500e6816cabda694da1f8d01cb507eb331fd43
Zip 32.25MB
cfa6000be835931961e40740bd3b51111700061d6655ddbfe5a2125807947457
SPDX|CDX
Debug Pack 26.28MB
191be7686958c979a8287d66e3f0b6986698e2df25d77bba92c9413617ae54d2
Development package (SDK to develop PHP extensions) 1.24MB
34398ff79ab081247d217c44238a6570f968dbf558d711ed7b731836678b43e9
Zip 29.02MB
e2a7ade3ad1efee8c673efae95a5c4ad056077a6febd8a4b695eb02b0673a88f
SPDX|CDX
Debug Pack 27.03MB
f465300b949ab4d8490025fc90ce4a91f1ab352110f96a9c08f04708797d43ea
Development package (SDK to develop PHP extensions) 1.24MB
62fdf78141befbac62302c685efefa2b085cc81ece33362950930bf76675aadf
Zip 28.98MB
fdb6676a301e4ee1096d5c0ef969c8345e59e37d0ec5a68ed709d54c42054c80
SPDX|CDX
Debug Pack 26.61MB
7e4d883f4f4120deb02fe2bd1614e397b41873f0ece7cad65c9703c262b3de45
Development package (SDK to develop PHP extensions) 1.24MB
8e728c65ad50973f0cdf62521dd1b960dcbc42de9ca409f93b7e754ed8fb98b7