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

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

      8.3 has no release.

      PHP 8.2 (8.2.9)

      Download source code [26.08MB]

      Download tests package (phpt) [15.58MB]

      VS16 x64 Non Thread Safe (2023-Aug-01 13:21:56)

      • Zip [30.24MB]
        sha256: f5907e2b56c941669acf36355d3dcebd2ee2c5b4df08874380a40388bf2cce79
      • Debug Pack [24.52MB]
        sha256: 730c319e4b2c5dab7dd1e25b6d8b355fbec3afbc3ffb86281467140dfe114f57
      • Development package (SDK to develop PHP extensions) [1.24MB]
        sha256: 10c381533307e2305cc52e2db1a394838e70b6dde171561e2502de627252eb88

      VS16 x64 Thread Safe (2023-Aug-01 13:08:42)

      • Zip [30.35MB]
        sha256: e18c2c48737ebe799bdf6ec16b28e361f71ae759b78d154bc55de0920a5e8bb3
      • Debug Pack [24.54MB]
        sha256: 200988a1e6efb2733eeddd8d821b78c8d7f53ea9ba910166cd830265914c7415
      • Development package (SDK to develop PHP extensions) [1.24MB]
        sha256: e4ec988444d09fe8e93e3487cac049bdc508438557e541d3a6a2b5c9e69b4da1

      VS16 x86 Non Thread Safe (2023-Aug-01 13:06:08)

      • Zip [27.14MB]
        sha256: 046734e01513776d3d1936d5a0b603553d46d5bd068e2505540dc5079e81e4ef
      • Debug Pack [25.14MB]
        sha256: eed06491435c0894b5335f569a30c6d2c27c58f5490e4fe5413853e3dc3d1728
      • Development package (SDK to develop PHP extensions) [1.24MB]
        sha256: 96292d517a5c46c5eaf09999b3d7b5df82d149c3397c217c7bbaa28bfcd98575

      VS16 x86 Thread Safe (2023-Aug-01 13:14:12)

      • Zip [27.12MB]
        sha256: 703bcacf2d590fa28c819f9732bf95eb1c722dc0c7cc106add9cc2c2c3911cc1
      • Debug Pack [24.78MB]
        sha256: ef08e41236e95f274e7ef917a1933a25eeb941e01c05c03f4d8d57c95cf3749d
      • Development package (SDK to develop PHP extensions) [1.24MB]
        sha256: 79e90c57ab62286abeb1fd02b08cfad2181dd16ec3620114ee6e273b67927efb

      PHP 8.1 (8.1.22)

      Download source code [25.57MB]

      Download tests package (phpt) [15.3MB]

      VS16 x64 Non Thread Safe (2023-Aug-01 17:58:16)

      • Zip [29.28MB]
        sha256: 02a5122a8bdef1e822225f3476c266f5b7da4e10878575aad9436ccfc5a5466d
      • Debug Pack [23.87MB]
        sha256: 72aba4974012bfaba17b21a4529aeec9036c5d016d162afd3c31e346ae7ee4bb
      • Development package (SDK to develop PHP extensions) [1.21MB]
        sha256: 2da02ca33147956f652842e7c42d03098a6a13051d5b3a374702fc74697b88b2

      VS16 x64 Thread Safe (2023-Aug-01 17:45:20)

      • Zip [29.38MB]
        sha256: e95058b360e0e83fc8378badfb6f91b491c0a26225c11c841d204e67374bbcf1
      • Debug Pack [23.88MB]
        sha256: 5f6797f5c5efd5a65159265a87f061d14a8642b47df3294c31e4eab049bb337a
      • Development package (SDK to develop PHP extensions) [1.21MB]
        sha256: 548af57f87b9b55a3ee3a9f107f9edf2a58dc65b425a24635dd48a70a4a56da1

      VS16 x86 Non Thread Safe (2023-Aug-01 17:41:02)

      • Zip [26.33MB]
        sha256: f6651d3ed78332ba9714766f048b2703e264fdc5eec3119f8e2ac1c02f81ac54
      • Debug Pack [24.44MB]
        sha256: acad9e5b4a86b47abdd507b3b852d53b7e9a735ffcb1e5645273a12dff32a3f1
      • Development package (SDK to develop PHP extensions) [1.21MB]
        sha256: 35c770be3f34a3ef1aeb4c533fb9fe71d0a5944be1b7c1a9d9ea4a585aa36e0a

      VS16 x86 Thread Safe (2023-Aug-01 17:40:06)

      • Zip [26.31MB]
        sha256: 767af03c09ef3cadb2f64e3ee0612e7a1637652e7ff4151597e675effcd7836e
      • Debug Pack [24.09MB]
        sha256: de2d1d95b8340586ca1171faba48b9267f2f11e03d01d544449b0eb6a6bdf39c
      • Development package (SDK to develop PHP extensions) [1.21MB]
        sha256: fb7b8097c8b877fbb2f0e1b679aec4e409424ac9ef00d5eb8acf715a4ab49f4a

      PHP 8.0 (8.0.29)

      Download source code [23.47MB]

      Download tests package (phpt) [13.56MB]

      VS16 x64 Non Thread Safe (2023-Jun-07 21:47:34)

      • Zip [25.53MB]
        sha256: 0e85a7b30306581625e9fcf72561c508b4cc467aa9ee5eeb49a84770cfa85223
      • Debug Pack [23.21MB]
        sha256: a47afabec69f32af013443bfd47e91452f21f130d4ed193f84adba0dba9b2ddc
      • Development package (SDK to develop PHP extensions) [1.16MB]
        sha256: c420abbb8504858a8875f1c1e1d2423a8efb73d08259dff9e8a30b2231614724

      VS16 x64 Thread Safe (2023-Jun-07 21:52:48)

      • Zip [25.63MB]
        sha256: 7fbecc489e7fd67ea66cbeccba3b983249f861778bda4117b31491976ff83a63
      • Debug Pack [23.22MB]
        sha256: e4ba3baa80b5ea5f507a91e5b6c8a14a0a8dd49f811cbdbd98884a9cd3a9fa56
      • Development package (SDK to develop PHP extensions) [1.16MB]
        sha256: 946bcc501d68a2ff8aa8aaa9093304663c94d5616ed521eaeeb832523c4c5cd2

      VS16 x86 Non Thread Safe (2023-Jun-07 21:50:48)

      • Zip [23.65MB]
        sha256: b0c424b5e870a90c726e85cdb0581a70749e3ea57fb52539d684f08304137536
      • Debug Pack [23.85MB]
        sha256: b62ec7550383d7337c7b8dac62eee67d6cc1173b7f1978240a698f56a1815cc4
      • Development package (SDK to develop PHP extensions) [1.16MB]
        sha256: 9d97eaf4aeff945cf7d0c179bf94e56751ac90ae570ca88612975345389bafdf

      VS16 x86 Thread Safe (2023-Jun-07 22:02:28)

      • Zip [23.64MB]
        sha256: 55da5ee31bbb3454dd65bb23011f3c0e0209e0e832f592f9cbca1f73acb66adf
      • Debug Pack [23.51MB]
        sha256: a46d6f3c68440fbee2c648e965fd7b1d797befbf87ce883297e2167241c502c7
      • Development package (SDK to develop PHP extensions) [1.16MB]
        sha256: 19ed0237928557adcecea9ab4e58e133dc690b1fb604f1928a7cf3d2625df3b8

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