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

      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.

      VS16 & VS17

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

      - The VS16 and VS17 builds require to have the Visual C++ Redistributable for Visual Studio 2015-2022 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.4

      8.4 has no release.

      PHP 8.3 (8.3.12)

      Download source code [27.16MB]

      Download tests package (phpt) [16.34MB]

      VS16 x64 Non Thread Safe (2024-Sep-24 20:41:52)

      • Zip [30.68MB]
        sha256: 4214c13f1c66a7b98f088d8d26b18e35117228b853ba4394479d2d3df693c3b3
      • Debug Pack [25.85MB]
        sha256: 827e46eda850c3cbdfcf462852da756caf26c916e3591a257790514f1c8c4606
      • Development package (SDK to develop PHP extensions) [1.26MB]
        sha256: 34b8ca0cd08d0abef865c01989a28a0ab9e87a42f13ab806416381e7bf7b6418

      VS16 x64 Thread Safe (2024-Sep-24 20:42:18)

      • Zip [30.82MB]
        sha256: a76ad58430305f12e6b57e26f6942feb8812cb47f62c2972be291f7c966040e8
      • Debug Pack [25.75MB]
        sha256: 5aab2b45c314ab2624c03ce5edd80bd688513d62aa509c61ca498288ec971ee0
      • Development package (SDK to develop PHP extensions) [1.26MB]
        sha256: 0cad3c29391d0254708715ae29ca43a0d14e18bad3f99a2f75f13dfe7ee67cc4

      VS16 x86 Non Thread Safe (2024-Sep-24 20:39:54)

      • Zip [27.55MB]
        sha256: 2513802ed7881038036b9199bd80b8aea23aa73660048b122eadc23c2733057d
      • Debug Pack [25.89MB]
        sha256: 8afa251f265c267bc5933953228b200be69ea7aafd4ea8fe52870a6964fef186
      • Development package (SDK to develop PHP extensions) [1.26MB]
        sha256: f0a4b51b0721f8cdd988a4c86139b479993094f8052501ef4c713d814e3441f3

      VS16 x86 Thread Safe (2024-Sep-24 20:39:56)

      • Zip [27.53MB]
        sha256: e83bcee70321135360b258a98faa8d1f99acfb9b005bbb7a488c7ac9cb3b0bf3
      • Debug Pack [25.5MB]
        sha256: 902647fa6c52f76e6f94dcac32fd22fcd81b3d24acd791ed564b6ee65dfa3342
      • Development package (SDK to develop PHP extensions) [1.26MB]
        sha256: a6292a072b7a5a1dcb448b01e27abea2df5fa779f5267ddd479df0357d4f926c

      PHP 8.2 (8.2.24)

      Download source code [26.37MB]

      Download tests package (phpt) [15.77MB]

      VS16 x64 Non Thread Safe (2024-Sep-25 08:52:38)

      • Zip [30.32MB]
        sha256: a80835d407eeb613b1ac9f170fcdc53f6446d81691d22bd7826a6a3095bbf22e
      • Debug Pack [25.52MB]
        sha256: d251ceef4a9b24f73604afccdccca3658b7a7636c042aa6da5dfb3cade3cfc22
      • Development package (SDK to develop PHP extensions) [1.24MB]
        sha256: c0e2b0f84386c034d0914ccdf4abdbc57417081bcd795f147bb5f8aa1af2a607

      VS16 x64 Thread Safe (2024-Sep-25 08:54:58)

      • Zip [30.43MB]
        sha256: 6fec1e195f3ee64934781ce0b7cddc6d7b0a2f1d460d79cab5c49c2c13f6bd04
      • Debug Pack [25.59MB]
        sha256: 78332c331e0f3ba28f8477f6cb7d1b18e96ee410aa1584d1e07160f5620f96a6
      • Development package (SDK to develop PHP extensions) [1.24MB]
        sha256: bc1ca94000b4ac0fca685ef4bd0f4977a04edab139d299fcf22bd424766bc8f5

      VS16 x86 Non Thread Safe (2024-Sep-25 08:50:36)

      • Zip [27.21MB]
        sha256: 42b4771eb80d4d1ae3ad8133fd593a07bb08e46aab988eddb41a769bd2093c23
      • Debug Pack [25.55MB]
        sha256: aaecbe3e2556883677db95cebc943020ff0fbe8a01f24c04a3fa9dddb539f1ce
      • Development package (SDK to develop PHP extensions) [1.24MB]
        sha256: 47b055fc65517e84c0c5a27dedaf1fa35d93a748ec14dc337140cd8d33c5c4cd

      VS16 x86 Thread Safe (2024-Sep-25 08:49:10)

      • Zip [27.19MB]
        sha256: bbf6fa91e6c06b6c72c9c5be26c59877d7a8ac7551ba00093a68066c714b2124
      • Debug Pack [25.23MB]
        sha256: 1889c29d53e6f30a1f2027636dbb4ad4fb41c1c2aeb8d0ca69cb8710fbc5a14e
      • Development package (SDK to develop PHP extensions) [1.24MB]
        sha256: 6affc41f6a7325a380c1222e3afcb8af0aabac123bffacb6a0041d0892c97a15

      PHP 8.1 (8.1.30)

      Download source code [25.68MB]

      Download tests package (phpt) [15.38MB]

      VS16 x64 Non Thread Safe (2024-Sep-26 21:33:00)

      • Zip [29.33MB]
        sha256: 57238526e52fff71e1762edef064fe6be7ce0dc78386f63e111479a62d8efd4f
      • Debug Pack [24.96MB]
        sha256: 6b3c00396da2ed08645bef73211687a0d9dc988af057f4385ee5c92813432465
      • Development package (SDK to develop PHP extensions) [1.21MB]
        sha256: 4c4e8709be54365001c2b2cd47800d91a053aa21c55db039ac7e045b8aea0743

      VS16 x64 Thread Safe (2024-Sep-26 21:34:50)

      • Zip [29.44MB]
        sha256: 1a5bf8526260dd923e3c835ca0b34fdf39a797c65c9ce0b0007a72b5aa4fe2f1
      • Debug Pack [24.96MB]
        sha256: b8365f275fff20b495e98041f717a0ad62dc047b1f488bb74daee5af58755427
      • Development package (SDK to develop PHP extensions) [1.21MB]
        sha256: 0ea86fff01a4aaaae1861fed1dabaa2759fd50c95c5278b5cf0f473f2242dd8a

      VS16 x86 Non Thread Safe (2024-Sep-26 21:31:30)

      • Zip [26.39MB]
        sha256: 6b923932081f56277512c71bb79012fb3f3b27d8feca0887b1994e6bf808da05
      • Debug Pack [24.98MB]
        sha256: ced488e0cf4b79d738db8b7d5fb7c1c8d14749a3db11d1320a0ab4c4999db76a
      • Development package (SDK to develop PHP extensions) [1.21MB]
        sha256: c27fa8b4e8473a117bf1b2ed1188722fb8d38d865e821a6fc7d449dcf209dbb8

      VS16 x86 Thread Safe (2024-Sep-26 21:29:16)

      • Zip [26.36MB]
        sha256: 79bfe4b6d49e975b15f51f9cd8e1e027348e1db7cff0ed66f535d8e8b13b7719
      • Debug Pack [24.51MB]
        sha256: 3e376c1b4450483bd3d2dc9f131b2d6fba1781d1421d2d0205434a5b7dd64bb6
      • Development package (SDK to develop PHP extensions) [1.21MB]
        sha256: 5a18293fb219b6778089e508df2b9274077e45c0748072f14dde0e693a73273a

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