• PHP: Hypertext Preprocessor

    • Home
    • Downloads
    • QA Releases
    • Snapshots
    • Team
    • PHP.net site
    • PHP For Windows

      This site is dedicated to supporting PHP on Microsoft Windows. It also supports ports of PHP extensions or features as well as providing special builds for the various Windows architectures.

      If you like to build your own PHP binaries, instructions can be found on the Wiki.

      PECL For Windows

      PECL extensions for Windows is being worked on. Windows DLL can be downloaded right from the PECL website.

      The PECL extension release and snapshot build directories are browsable directly.

      Which version do I choose?


      IIS

      If you are using PHP as FastCGI with IIS you should use the Non-Thread Safe (NTS) versions of PHP.

      Apache

      Please use the Apache builds provided by Apache Lounge. They provide VC14, VC15 and VS16 builds of Apache for x86 and x64. We use their binaries to build the Apache SAPIs.

      With Apache you have to use the Thread Safe (TS) versions of PHP.

      VC14, VC15 & VS16

      More recent versions of PHP are built with VC14, VC15 or VS16 (Visual Studio 2015, 2017 or 2019 compiler respectively) and include improvements in performance and stability.

      - The VC14, VC15 and VS16 builds require to have the Visual C++ Redistributable for Visual Studio 2015-2019 x64 or x86 installed

      TS and NTS

      TS refers to multithread capable builds. NTS refers to single thread only builds. Use case for TS binaries involves interaction with a multithreaded SAPI and PHP loaded as a module into a web server. For NTS binaries the widespread use case is interaction with a web server through the FastCGI protocol, utilizing no multithreading (but also for example CLI).

      What is PGO?

      Profile Guided Optimization is an optimization feature available in Microsoft's Visual C++ compiler that allows you to optimize an output file based on profiling data collected during test runs of the application or module.

      Links:

      • PGO on MSDN
      • Visual C++ Team Blog - PGO with PHP
      • PHP PGO build for maximum performance (old)

      amd64 (x86_64) Builds

      PHP 7 provides full 64-bit support. The x64 builds of PHP 7 support native 64-bit integers, LFS, 64-bit memory_limit and much more.

      Long and multibyte path

      PHP 7.1+ supports long and UTF-8 paths. See the manual for details.


      QA binaries are NOT intended for production use; please use the binaries at PHP Windows downloads.

      Archives

      Past releases are available from our archives, older versions not found there can be found at the Museum.

    • Binaries and sources QA Releases

      PHP 7.4 (7.4.0RC2)

      Download source code [23.16MB]

      Download tests package (phpt) [13.22MB]

      VC15 x64 Non Thread Safe (2019-Sep-18 12:20:19)

      • Zip [24.37MB]
        sha256: bd4295a8b8b13b8e9166706bb280e647cd4e401112424c388729e02e22d07d8a
      • Debug Pack [21.39MB]
        sha256: bc3dc00881dcc0045f9817dd486a72d615d51297d1d47e6a3f570102a81ed95c
      • Development package (SDK to develop PHP extensions) [1.07MB]
        sha256: 7343e185dbd7edd3d2a7d7518e07a1b0265eef550818c41eea6c3ffe00fb7628

      VC15 x64 Thread Safe (2019-Sep-18 12:20:30)

      • Zip [24.48MB]
        sha256: 3190139c834e38c082c20de0188c903016e9aef984233da129c08595f84d06bb
      • Debug Pack [21.39MB]
        sha256: ad56b0053d8b2528c21ea28f9765c90bcb582623715d8adedfbf1fe850b059ae
      • Development package (SDK to develop PHP extensions) [1.07MB]
        sha256: 73ce604a1c2faa2ee7a65287debf7e6837acb221ee374486b596adc7cbba948f

      VC15 x86 Non Thread Safe (2019-Sep-18 12:20:20)

      • Zip [22.77MB]
        sha256: d61979880ab6a4d180cd3b75e5c9c258b0930cf181ca17272104a5838576529c
      • Debug Pack [22.39MB]
        sha256: 7f8531fdae27051a9501f2b5a385c23f67f0d059f81af458335c630105167ba7
      • Development package (SDK to develop PHP extensions) [1.07MB]
        sha256: 33a4c859e68782471cd1673e4a56502d4b2ce6b1ae688d758c13a58a51092f80

      VC15 x86 Thread Safe (2019-Sep-18 12:20:41)

      • Zip [22.75MB]
        sha256: f92d109c51441bc16e5cc39252558d3de9d7c52dbc6dcef9201e97faadd126f4
      • Debug Pack [22.07MB]
        sha256: 4472e3e9a6076ba0683bc74790cdd87fb8b9701032ea14d1ce9386776862cd8c
      • Development package (SDK to develop PHP extensions) [1.07MB]
        sha256: 541e50d3d73c1412406e6b92dbe8636d36a9c4ea9845020ef71be4ad788b91bd

      PHP 7.3 (7.3.10RC1)

      Download source code [27.07MB]

      Download tests package (phpt) [14.18MB]

      VC15 x64 Non Thread Safe (2019-Sep-11 15:24:51)

      • Zip [24.39MB]
        sha256: 9e38cbfadd38bf6d0091cbcd97c1dad7a400ed256e03391ed4b52048eb4a18f5
      • Debug Pack [23.01MB]
        sha256: 0a200a120a56a0332c9693d85ea59814a75eb8e4db7f11bc845a77f95c2ffb41
      • Development package (SDK to develop PHP extensions) [1.25MB]
        sha256: 3b090a1fbd4eed9284fb4898041f75e867206c932f78c7676563b3e012fe8a96

      VC15 x64 Thread Safe (2019-Sep-11 15:25:07)

      • Zip [24.53MB]
        sha256: ae7597a4fdc73bce15c46386288810a0888c12689ad15d05e5b734110f32ff25
      • Debug Pack [23.1MB]
        sha256: f72aba1c8bf7e59fae5bde5f8a07b4945453ba728b9c4b7b99b38a932c3d8535
      • Development package (SDK to develop PHP extensions) [1.25MB]
        sha256: 731dbf49811c0fd2b221c6115db973c6be4771788052596fa0e5cf43ddb36ffe

      VC15 x86 Non Thread Safe (2019-Sep-11 15:24:53)

      • Zip [22.78MB]
        sha256: a6a18d8bd77b80a5268eac09bcd5be868db82193878b5585c32c1664742a3032
      • Debug Pack [23.9MB]
        sha256: d4cee2d22dab21b3f9d32a55cae095be5f57638c3f20946ae351730e4e397db2
      • Development package (SDK to develop PHP extensions) [1.25MB]
        sha256: f9ea2db4a15311982c2f2702304b6389c1a0c03ac7d94c5b6d2e2b243094d3ff

      VC15 x86 Thread Safe (2019-Sep-11 15:25:11)

      • Zip [22.85MB]
        sha256: ebb4b91ecfad6b518f0cb5c23dad1c0799c587f722e2c6901bb8ead7854fc525
      • Debug Pack [23.96MB]
        sha256: 1d1e3e74d32fa8d6411fd1eec2ced2794752b2c44c69b81ba1093d2b61124eb9
      • Development package (SDK to develop PHP extensions) [1.25MB]
        sha256: cf53bc714398c1b5a18d18f980a7fb2c1cec76efaee48502ab3c51c9c4a62763

      PHP 7.2 (7.2.23RC1)

      Download source code [27.3MB]

      Download tests package (phpt) [14.3MB]

      VC15 x64 Non Thread Safe (2019-Sep-11 15:34:09)

      • Zip [24.9MB]
        sha256: 03a8f1521c3faa528ba14467e6faf17f68e00a6676487213ab17b2d199adc1da
      • Debug Pack [23.16MB]
        sha256: 5abcd5de9a531a42661a3bb8116bb7fcc8cc161b978f189a23505f679ffa2af7
      • Development package (SDK to develop PHP extensions) [1.24MB]
        sha256: a9ee170793e9a4dee78a385168f86ecaa996576ecd5425f5c2853961d61cfcae

      VC15 x64 Thread Safe (2019-Sep-11 15:34:19)

      • Zip [25.04MB]
        sha256: 7d928a7551a3afc4b15dd5bee0988bff518bd2b522b41e8f0b05528e30dcbae8
      • Debug Pack [23.25MB]
        sha256: 4fdbb60233c88a0433832e5d0d6922387174cf9338a2cc76782d540888e45281
      • Development package (SDK to develop PHP extensions) [1.24MB]
        sha256: 8b7b06c97e592f96db9d827cd55802ee46f137236d53804eb01d1dc75eab6975

      VC15 x86 Non Thread Safe (2019-Sep-11 15:34:10)

      • Zip [23.26MB]
        sha256: e19c8f60a12384ef0a27c4611342d195924df836eac4ccc94b6615599da6c938
      • Debug Pack [24.07MB]
        sha256: 66ace01010fd3f53e10ac79628d495fd02fe6822dec98821734ce7971618391d
      • Development package (SDK to develop PHP extensions) [1.24MB]
        sha256: 1d562d3a7bd28a26d42af0f0d5b6242625c75d4363ba985a56746dff220956aa

      VC15 x86 Thread Safe (2019-Sep-11 15:34:25)

      • Zip [23.34MB]
        sha256: 1e2889176bad80243cd14f4558278064763f0a745bc065fd4150a006ffc1eb66
      • Debug Pack [24.2MB]
        sha256: 8f13407a79a9b3a5d6bb14678e08a90057d845d8146b1be336087e309c2941c0
      • Development package (SDK to develop PHP extensions) [1.24MB]
        sha256: c4a3406c405a664bf2482758b5482558ed70bac2dd1e9b96f5c1f769e6e117ed

      PHP 7.1

      7.1 has no release.

  • Copyright © 2001-2019 The PHP Group
    All rights reserved.