• 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 VC15 and VS16 builds of Apache for x86 and x64. We use their binaries to build the Apache SAPIs.

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

      VC15 & VS16

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

      - The 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.7RC1)

      Download source code [23.35MB]

      Download tests package (phpt) [13.35MB]

      VC15 x64 Non Thread Safe (2020-May-26 16:51:24)

      • Zip [24.83MB]
        sha256: c92bf2eef6f6f78901a0ce63f13db0f13d30214653c7a3200f79987a6cce2cdc
      • Debug Pack [21.95MB]
        sha256: 8a64c8ee35c890ed62fec9e47a0a83892b43bd08564a74268b7e78bb45d8da12
      • Development package (SDK to develop PHP extensions) [1.08MB]
        sha256: 6e758948cd3a20f64337090f9b5d284a2b6cfccac9f095928139604958d3c0d4

      VC15 x64 Thread Safe (2020-May-26 16:51:36)

      • Zip [24.93MB]
        sha256: c33159bcd6e355a11734e82fde5a3ac5c6a17d7bd0b1f1fb5730eeae9d83d0b7
      • Debug Pack [21.95MB]
        sha256: 9f16984e4fd85d9f50d4c6d0c3ae44b01cc9a0500c60490864309315fb6e90d4
      • Development package (SDK to develop PHP extensions) [1.08MB]
        sha256: f57f16e1d1974f51f55d6f8d130f37c2e91cec4488a5f7b4b624a5935bcf6574

      VC15 x86 Non Thread Safe (2020-May-26 16:51:26)

      • Zip [23.12MB]
        sha256: f610d093c3fca2075b1f15bc0570e8f0489c18d6cabd57a45c7372be65cbc462
      • Debug Pack [22.89MB]
        sha256: c5f89bc3564addf3fcd18676e109de9ac1d16f45d4f1eaadefe243312354f6e2
      • Development package (SDK to develop PHP extensions) [1.08MB]
        sha256: 54f7661152ba5198c3fc9b22652b76c51c56ec0c8086935b4d5ebfcf596eee59

      VC15 x86 Thread Safe (2020-May-26 16:51:45)

      • Zip [23.09MB]
        sha256: 436717717acbc5e999f85b6ab5c3ef8145d2f20335cc7964df6414c5190f8d7b
      • Debug Pack [22.53MB]
        sha256: 9e743c42ed2d37f279c85b73df6199e8cb577ea5dc0b1378757f631bd2fadbe2
      • Development package (SDK to develop PHP extensions) [1.08MB]
        sha256: c0ab3b3a43a71610c79bc37e744aeefc93612a629fa2b4df8c85e58eac48f832

      PHP 7.3 (7.3.19RC1)

      Download source code [27.17MB]

      Download tests package (phpt) [14.26MB]

      VC15 x64 Non Thread Safe (2020-May-26 16:47:53)

      • Zip [24.44MB]
        sha256: ecd7bad34ad15755fd60738d221e6e25e6f924ceb07323c645c91118d655c74c
      • Debug Pack [23.08MB]
        sha256: b3c02e4f2916f1811592e9d5da55a5baf9d22c93dc39c35d02b21df7b5cb6bc6
      • Development package (SDK to develop PHP extensions) [1.25MB]
        sha256: 36ecce6e62d7f43fa8c72f3b745fd917acf84c31b3d18d38e3c5c9b7a04d9a44

      VC15 x64 Thread Safe (2020-May-26 16:48:04)

      • Zip [24.57MB]
        sha256: 87571bfc5644210873880323f5e38d887a72c58ba44f3d5ffdc06ecfdb984976
      • Debug Pack [23.17MB]
        sha256: 8f22c5c9c370cb5371a9b9e1796b01a7917160ba8f635bb1438210f5a9492410
      • Development package (SDK to develop PHP extensions) [1.25MB]
        sha256: d87c2c951685ef55dc25f1aa59730b14c3afd67296fe2655c390228994cd4ad5

      VC15 x86 Non Thread Safe (2020-May-26 16:47:54)

      • Zip [22.81MB]
        sha256: 7d411c0cc8a12634e13d99852677a833657143ce0f715e0fa2cce8389fa3ae58
      • Debug Pack [23.95MB]
        sha256: 4b2fada4570832f12c8290694c67b461c4ee0d0d33f9763f3b0bac3ea6156f54
      • Development package (SDK to develop PHP extensions) [1.25MB]
        sha256: f7ecf016803c6978adb30f06f1d2d6698ec101780c1493a3c82888f48dd31709

      VC15 x86 Thread Safe (2020-May-26 16:48:15)

      • Zip [22.88MB]
        sha256: 0d6e742e037c343ff891dea81ab2a2583e6faf59d62f1a5b2dad6f9f343b873f
      • Debug Pack [24.04MB]
        sha256: 922349c70288bd2b1d57914eeb2bcb669f4967c892c5f190786c59b7a3ec07cd
      • Development package (SDK to develop PHP extensions) [1.25MB]
        sha256: 0475b58d9ae2f2e9ab48de44ce2973a5d1480cbf392a3ac3b781f3cf1097cbe0

      PHP 7.2 (7.2.26RC1)

      Download source code [27.34MB]

      Download tests package (phpt) [14.33MB]

      VC15 x64 Non Thread Safe (2019-Dec-03 16:04:00)

      • Zip [24.9MB]
        sha256: 0a2cc80a344e97cf21e95366b80055e70190c8db58ec46b5869654e30559ad44
      • Debug Pack [23.16MB]
        sha256: c2fe27c17b937b5c33db0348b0958686bbf9bf44f418ee6457ff8746df6cf754
      • Development package (SDK to develop PHP extensions) [1.24MB]
        sha256: f334efaad674f482f3ccf70374f9fbd67f380e24d1bc92a79fdf9ead27c98596

      VC15 x64 Thread Safe (2019-Dec-03 16:04:10)

      • Zip [25.04MB]
        sha256: b8af8932215c9b1d44c2c79eac4561d51645615ce855f9c8415f0c9e89b3afc1
      • Debug Pack [23.25MB]
        sha256: 1146dcb557efff588077787317834568948fc7d2be0cfad43b3933eb78525d02
      • Development package (SDK to develop PHP extensions) [1.24MB]
        sha256: b7f5632619b36f6ec439c2a51b5b09d32d346ca9c1762c74e47d0ab4ec10aa02

      VC15 x86 Non Thread Safe (2019-Dec-03 16:04:01)

      • Zip [23.26MB]
        sha256: 8174eb43ff3346762dafdc6e5a7e3ae5fac52f118429d76ddc3eae92b022499b
      • Debug Pack [24.06MB]
        sha256: 9835a56da714dfee1c17103ed95cc4a475c247d8b952f71b596289c0953d2891
      • Development package (SDK to develop PHP extensions) [1.24MB]
        sha256: 3562ebe733c4e16d49e80482f09f2b23c530f706d4d3d999c0e4943e0ce2302c

      VC15 x86 Thread Safe (2019-Dec-03 16:04:18)

      • Zip [23.34MB]
        sha256: f7862e9cdeeece4a117d798099f74522e9f14e8618f404361efb6f039fa0c516
      • Debug Pack [24.17MB]
        sha256: ea9f39bb7140f82921b0d63508856563b364b8cefc46298ee3fc555e701625cc
      • Development package (SDK to develop PHP extensions) [1.24MB]
        sha256: 22c9cbfa25610891cd51033a3417759c27a36333400f2ce86844ab488f74fb56

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