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 25.81MB
Download tests package (phpt) 15.89MB
Zip 30.38MB
8a6e409adb5f7fb196c07315c69195c4eb87eec8acae2e74a0e04ec50745a055
Debug Pack 25.74MB
1047dc844372a65fb3e1a0a9939c61f0e9de54bd07cf006ada66527f887eaad1
Development package (SDK to develop PHP extensions) 1.24MB
1d5eadf5f5ef68daaf0ba543ee9fdbf669def165432cc9e6e53aaf45dc4d3e55
Zip 30.49MB
abf3b5c31dc93fc0141cf7844e3322fd862b8510a091099599a16b3847fc58c1
Debug Pack 25.68MB
1f19f442062dc8b53a8dcfc6962fcab31d80163cb9c26f7eb031a08664882f1c
Development package (SDK to develop PHP extensions) 1.24MB
5c2cf253941779a1a917b6018ea12c86f552ba0e111fd5f6579ae686381604ed
Zip 27.27MB
6f00e490c4cad59f0ebe2f6891208e0630a14af54e81070b20480ecc5f67912b
Debug Pack 25.86MB
64d09a696319b1add4e24f53db00c5a970dc13d308d13d431835bfd4e98e9499
Development package (SDK to develop PHP extensions) 1.24MB
5073e9740b7fd311812e0e3b9cee29f86ef8e678c757504965268945a5e63d76
Zip 27.25MB
e380bc8e635b4c7e5ff423465e71e2cc3f5b7fe7cea1ee301dcea658fe1029de
Debug Pack 25.52MB
2e5e9bd61451049f789b2fde26f0c76e15f59ac111718faec0a4e74a5ce5c33d
Development package (SDK to develop PHP extensions) 1.24MB
bbc007d2500a145181d8c09bec7943ddbfc9595812a02a797129cfe4ca5d8ffd