• PHP: Hypertext Preprocessor

    • Home
    • Downloads
    • QA Releases
    • Snapshots
    • Team
    • PHP.net site
  • Are you seeing a warning from Windows Defender? Check out this info.

    • 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.

      x64 builds are recommended (almost all Windows installations support x64).

      Long and multibyte path

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


      Archives

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

    • Binaries and sources Releases



      Past releases

      PHP 8.0 (8.0.2)

      Download source code [23.96MB]

      Download tests package (phpt) [13.29MB]

      VS16 x64 Non Thread Safe (2021-Feb-03 19:17:50)

      • Zip [25.33MB]
        sha256: e59e7ca8bb70562a8d4b67b58fd8dd6e2fef06e9efe5060d562352e05cac56e1
      • Debug Pack [24.29MB]
        sha256: 9c0829f7d5db646ad3ac08610064162e1d38f83072bbadc057e5b23b4b10dd19
      • Development package (SDK to develop PHP extensions) [1.16MB]
        sha256: fca16fe221ee730091098be579a2c190940206be5cf3fefc5da8369b5dad340a

      VS16 x64 Thread Safe (2021-Feb-03 19:23:38)

      • Zip [25.43MB]
        sha256: 9caed2c56eadb7ac51b02d9540e45fd9e9862cabfd5ce6f4f7547a2fd95e8df6
      • Debug Pack [24.34MB]
        sha256: 92809775f20955d809eac3bb0e6f94281d9f9e25d5998508542691ed4f4537a8
      • Development package (SDK to develop PHP extensions) [1.16MB]
        sha256: 0e4f394c44d2f51f598fbba1ba8c27d5da1ecb7476797dde0a74d7ddb6b12611

      VS16 x86 Non Thread Safe (2021-Feb-03 19:20:13)

      • Zip [23.36MB]
        sha256: e3f13558e1143deefc5e1998dda2454e4ee09f3dc08afe31a8ae42ac7a1442a0
      • Debug Pack [24.31MB]
        sha256: 61fa46c3a8033c9b7fcaeea431dafdb9ef815396ed01e4c055071bad078c3769
      • Development package (SDK to develop PHP extensions) [1.16MB]
        sha256: 6ede3d2254037652036518668597155c77fd671441525ee78727537050e99e5a

      VS16 x86 Thread Safe (2021-Feb-03 19:21:04)

      • Zip [23.42MB]
        sha256: 42f8b715bc35f060996213ffa8cf92ae4a03203647d1f80dc0274ecda959e6a0
      • Debug Pack [24.29MB]
        sha256: e5ea0881944ad3cb876d58b388aed65c5f587c9501bd98b8ce2440a7d0f19e50
      • Development package (SDK to develop PHP extensions) [1.16MB]
        sha256: 35566f8738299fad177d14e01d13ae14311f5bf4b77dc45a959fd01f0685c2ee

      PHP 7.4 (7.4.15)

      Download source code [23.41MB]

      Download tests package (phpt) [13.45MB]

      VC15 x64 Non Thread Safe (2021-Feb-02 23:05:42)

      • Zip [24.85MB]
        sha256: 25cce9343993e703597b92297f33a2337eceadd2fcdd329e1d823140c4c5778e
      • Debug Pack [21.99MB]
        sha256: 02659b2b5c657db54ea8fbf986f8a375d242e0af3c7a062e5fc9a02bda46a52b
      • Development package (SDK to develop PHP extensions) [1.08MB]
        sha256: 6a67a909cf773ed88954562fbb317d7e1675dfb2d61700d53b216bbd2480a5a1

      VC15 x64 Thread Safe (2021-Feb-02 23:05:53)

      • Zip [24.95MB]
        sha256: 2f7f7319229cad3e880fafe08be54f47521c55e5ab6eb0ddcf5699ca4ca5b368
      • Debug Pack [21.98MB]
        sha256: 65fa3c1a7058fa6dcf13cdb65506fe8ec53624e4583ba8de3c64463637bcdd55
      • Development package (SDK to develop PHP extensions) [1.08MB]
        sha256: 51fd132167c34a1c2a5c8f8d337b9a24ce86eb8ffd927168d2a9282b533b7cd7

      VC15 x86 Non Thread Safe (2021-Feb-02 23:05:40)

      • Zip [23.14MB]
        sha256: 27756ac23f4e38565c3c40e8485e502119ac2bd2a1484d9af6f51d2ffb4d2bba
      • Debug Pack [22.88MB]
        sha256: 56e27c12f367e5531e8afee7b6196af965f4204e63715771c41d2d2f5b09ecc7
      • Development package (SDK to develop PHP extensions) [1.08MB]
        sha256: 9dd0ef78fa07bd3e735f5088b2c1d814b649e39d8807b9c4e0d21c14393a933c

      VC15 x86 Thread Safe (2021-Feb-02 23:06:11)

      • Zip [23.11MB]
        sha256: a49d2fe1b4650828fa07c8894d149a665607fb33fd3034c8bb9f9dd304c74644
      • Debug Pack [22.57MB]
        sha256: 663b7a48f59d7e6d8a5c83b084de8ce8ab9229e799fc0f5e399f455affdc49cd
      • Development package (SDK to develop PHP extensions) [1.08MB]
        sha256: 69bda7e41602d63422cbced45d9f303c6f68327948f469da46b69cb00629779e

      PHP 7.3 (7.3.27)

      Download source code [27.11MB]

      Download tests package (phpt) [14.31MB]

      VC15 x64 Non Thread Safe (2021-Feb-02 22:58:49)

      • Zip [24.44MB]
        sha256: 1356f9df18713722d02487d5851183246db55e648e545c9f4055ff48f90bfadf
      • Debug Pack [23.08MB]
        sha256: fa5b58dccdbfd9639e2e2acfcd2e5a656eca4d5df3e03a1fc99b6f19acd910d2
      • Development package (SDK to develop PHP extensions) [1.25MB]
        sha256: 0591f4abcdc774bafb2212736e7dc01aabbc6b23eb6fafcacf43f0fa1cdab5cf

      VC15 x64 Thread Safe (2021-Feb-02 22:59:04)

      • Zip [24.56MB]
        sha256: f53b71c3edf9e3b79ecb7e9750b46f275e4335b27576607d3b47062aee7c25f8
      • Debug Pack [23.16MB]
        sha256: d12192254175cf6dad0495b238b06af9093c24afeed0e557a96583220eba1aca
      • Development package (SDK to develop PHP extensions) [1.25MB]
        sha256: 9d6d99c09147d2ac1d600fc84afad02f0687bddbfcd64f5e1b100bdbb14bc622

      VC15 x86 Non Thread Safe (2021-Feb-02 22:58:52)

      • Zip [22.81MB]
        sha256: 73545c9b6768f8c337ec358e6f1806ecdfdce47e76c293639a55028749404ad6
      • Debug Pack [23.93MB]
        sha256: 10aa2c1b25e0c94106af28a87cb27bab7ad04ef63c8ff349884155829348282c
      • Development package (SDK to develop PHP extensions) [1.25MB]
        sha256: 4cb062c73e16af89044117d7db3f602824946e95ca56e3176d9da3c207b5cd48

      VC15 x86 Thread Safe (2021-Feb-02 22:59:10)

      • Zip [22.87MB]
        sha256: 7f977b7dd5a76984578394b1612138d11de0bb8833617c942685fa9ee71173dc
      • Debug Pack [24.02MB]
        sha256: 90a62ff2e0ef93e0ea6f1b5b39ea53aa74723ae410cd98b24978d1181bee6268
      • Development package (SDK to develop PHP extensions) [1.25MB]
        sha256: f3bb3f78e5af5c783a51f6ef81d4fa2f22475e84f7ecf314b55faee48bdef39e

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