• 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 HTTP Server builds provided by Apache Lounge. They provide VC16 and VS17 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.5 (8.5.0)

      Download source code [31.57MB]

      Download tests package (phpt) [17.97MB]

      VS17 x64 Non Thread Safe (2025-Nov-19 10:02:04)

      • Zip [32.96MB]
        sha256: c4d3bfe570347b3b5f136e47d3ca16448e711e87f0eabdced1817d783277774f
      • Debug Pack [37.44MB]
        sha256: d560778d852bb9c226192190565ace1161999278b38d8c9db90f585b36e45b0c
      • Development package (SDK to develop PHP extensions) [1.63MB]
        sha256: c76ee00b826e3f02b566544ee697893c8ed5ddf491d9e02557a87387081e9009

      VS17 x64 Thread Safe (2025-Nov-19 10:04:28)

      • Zip [33.08MB]
        sha256: 0f50648ed1a60c9ea108c5085c5715d977e1b4cfdcc7c8a6acd37dbc65646be5
      • Debug Pack [37.61MB]
        sha256: 1711a70b5a1c2dc99d8ffd1067ffbf9f72fb216fe903e0a13b4212f595238adb
      • Development package (SDK to develop PHP extensions) [1.64MB]
        sha256: aabba3ee67536e544b599db049f855c9b76609aa6aab34443ae812d5d4d5ad61

      VS17 x86 Non Thread Safe (2025-Nov-19 10:00:42)

      • Zip [29.41MB]
        sha256: 618dcfc63df331058639f43987ba9f72e94bcaca058be155498f247b4769afdb
      • Debug Pack [37.99MB]
        sha256: accc87bdf038041025b97e94267428afea8025c99dbc9d1712517be26107533f
      • Development package (SDK to develop PHP extensions) [1.63MB]
        sha256: 7753375ed8344429cd3caba6868d5d3a90d1bc2aceeef7eae9e5f5f1950ee99d

      VS17 x86 Thread Safe (2025-Nov-19 10:00:28)

      • Zip [29.51MB]
        sha256: 368f41c8fb1bf6c827a2754e68575217a254903ee855021771445cfd3c9bebe4
      • Debug Pack [38.07MB]
        sha256: 800e4a4895985fa45eac85983e50fa9aa0b9c8694a6ae27f57db21014a59b54e
      • Development package (SDK to develop PHP extensions) [1.64MB]
        sha256: 064303881ef3a570d1cb7adf1d5c9085b9da4b7251fe0fff37c057fa2b39fcf5

      PHP 8.4 (8.4.15)

      Download source code [29.76MB]

      Download tests package (phpt) [17.43MB]

      VS17 x64 Non Thread Safe (2025-Nov-18 18:42:40)

      • Zip [31.95MB]
        sha256: 73da73427bf6498d767788c8eb4411e2eb1b0fb2d93c4fa6399910f38f8263c0
      • Debug Pack [37.14MB]
        sha256: e432ba966fadd5ef1a69ff14286ac534f9f68dcaf8ba0704acb40af0cb7f9d50
      • Development package (SDK to develop PHP extensions) [1.35MB]
        sha256: f6c887cb86d187215fd28061d21705f013a399af39477354c8de8d9e65c6b061

      VS17 x64 Thread Safe (2025-Nov-18 18:44:28)

      • Zip [32.1MB]
        sha256: 42957b27ebb1fb2d396a0e44a501a11ee6cd9d7ed4f9debfe7725712d17cffdd
      • Debug Pack [36.72MB]
        sha256: b58c96886eb7f2e4ebe1ee40587193a8a9f1ffcf77ef6e7a5bc02e2e9acd6d67
      • Development package (SDK to develop PHP extensions) [1.36MB]
        sha256: ecb1954edb6ffdc623f870b7d08460ee49b797b13ceef9c527cd48ed8f93872d

      VS17 x86 Non Thread Safe (2025-Nov-18 18:45:28)

      • Zip [28.62MB]
        sha256: 0f7e1a446119705e6ed8d2088734da1476193176c79fed3d0870655b451df562
      • Debug Pack [37.17MB]
        sha256: 33c013168e94424920a430a325ce14daa94d6ce13011fe5c8862b61eef61b49d
      • Development package (SDK to develop PHP extensions) [1.35MB]
        sha256: e5d1c94f60a7bf459ecd238ae04e2629805b5b41268a61127e1259ace3a1dbfe

      VS17 x86 Thread Safe (2025-Nov-18 18:40:36)

      • Zip [28.74MB]
        sha256: 0a3b2d3030d0ad9b4c27349088936fd7d5c961f94bba3951c1682b6175ed38dc
      • Debug Pack [37.39MB]
        sha256: 2ee535c584a9937bf548e1caf634ffb81d93045de7569c289eb6f16cecf31018
      • Development package (SDK to develop PHP extensions) [1.36MB]
        sha256: 0266d436c5c0a73c26bee8514d7428de32cecad16f2552e984a9ea1702ba8b15

      PHP 8.3 (8.3.28)

      Download source code [27.51MB]

      Download tests package (phpt) [16.68MB]

      VS16 x64 Non Thread Safe (2025-Nov-19 00:05:10)

      • Zip [30.72MB]
        sha256: 7df325c8f73ff62412bc2889f6a48f966d3e82b9c51ef6e875959b21ad8432a8
      • Debug Pack [30.28MB]
        sha256: 06c82cfbe83abf065f203721e7a241c7ee7f7f2dfd98a368ec8b6113d3eda0a8
      • Development package (SDK to develop PHP extensions) [1.26MB]
        sha256: 9d125afdc058676134f1c57c726d76bb8670e8a86c76d70c6d6d792a32ba646d

      VS16 x64 Thread Safe (2025-Nov-19 00:04:02)

      • Zip [30.86MB]
        sha256: acfb5b8bf8052ecf5e0f9bab2a5e52aa7758152631c0df39cad9cc2447663132
      • Debug Pack [30.33MB]
        sha256: c92e8b730563e24da32c1b3ff3d491411fa8fd0334692ffb1618542d3f51b4f3
      • Development package (SDK to develop PHP extensions) [1.26MB]
        sha256: 6380a0d0e3fe2ad1d722f52e23cae9af9884ed8cfa38cb42148ed3bb4788f1da

      VS16 x86 Non Thread Safe (2025-Nov-19 00:02:46)

      • Zip [27.59MB]
        sha256: 17f129ca3a4d06ba05417c35fc8ba87d924f4d9342365dd0303bb2c982845169
      • Debug Pack [30.3MB]
        sha256: e93472f82f632fe1ce413cd453ca5dba46880f8462b4f277d23a84a9a8c0a1aa
      • Development package (SDK to develop PHP extensions) [1.26MB]
        sha256: a35b7b5ec918b289443fa2d14c2d4858fd053c3ecd748d3ef14a72307e65d99f

      VS16 x86 Thread Safe (2025-Nov-19 00:05:18)

      • Zip [27.57MB]
        sha256: 8a912b690679bb79e01e992b9ad8615ee697fe33324b135aab4c1355a4a9d13e
      • Debug Pack [30.01MB]
        sha256: bed5f45531c0208087d789f376fe29a6f2ef564f4ae77355cc44c012809db44b
      • Development package (SDK to develop PHP extensions) [1.26MB]
        sha256: d9cc04c8b062d8efce6d6b73699540af8ea9af06c8ea6a61d51988a3b75a034c

      PHP 8.2 (8.2.29)

      Download source code [26.52MB]

      Download tests package (phpt) [15.89MB]

      VS16 x64 Non Thread Safe (2025-Jul-01 20:37:54)

      • Zip [30.34MB]
        sha256: 8404a12bd421075060ae9f7ae988777a476807163d9d4c10e1ac55175976f5c0
      • Debug Pack [25.52MB]
        sha256: cf8a0e8d0298a70becc467579c984c7088eaf2eac6ac2c2750070402a06391e1
      • Development package (SDK to develop PHP extensions) [1.24MB]
        sha256: d91b0e40f19c32d48a3d227abf397011ce1ee3b4a3a8d5cccb68c4621547ba92

      VS16 x64 Thread Safe (2025-Jul-01 20:41:32)

      • Zip [30.45MB]
        sha256: 3251789a0557eaae3cf25e7b10eccd2fb0480e1cc0ccc2666894c74de45eea76
      • Debug Pack [25.47MB]
        sha256: 7aa990fb89d2ba014162e73d6612393b3d5748fa603bbb8eef60b3d530bb8e08
      • Development package (SDK to develop PHP extensions) [1.24MB]
        sha256: 1be48e56118914994e14dc826b49ae2a69a9ac24623a5e3a142855893e95708e

      VS16 x86 Non Thread Safe (2025-Jul-01 20:38:52)

      • Zip [27.24MB]
        sha256: bf88cf1e7303639db234766e9eeae19d6f0760da127d4ccfd88d4a1a412a8f69
      • Debug Pack [25.7MB]
        sha256: 7c9ed619ae6e43c9e5cbe0569316ccaae6ec0ab0c158fe3f9ddd6911b9e58f8b
      • Development package (SDK to develop PHP extensions) [1.24MB]
        sha256: cef1b2cca7e5f6194e8bedeb1d4778b9eed5eeda24aacba086cdf5f94817bbcf

      VS16 x86 Thread Safe (2025-Jul-01 20:38:26)

      • Zip [27.21MB]
        sha256: 334244d028ef1b2634a5689d3a57add301afefe70ec7391b80452f8542d7a886
      • Debug Pack [25.31MB]
        sha256: 8d3daf6061461fd64392ac6ffe4c01d9b084659897f99c5a101a809fd787b659
      • Development package (SDK to develop PHP extensions) [1.24MB]
        sha256: 606c7bd7b7661fe907311725145eeafd70168128fd05e60f0c87779a10c301c4

      PHP 8.1 (8.1.33)

      Download source code [25.74MB]

      Download tests package (phpt) [15.43MB]

      VS16 x64 Non Thread Safe (2025-Jul-02 09:09:18)

      • Zip [29.35MB]
        sha256: c34703ced40248d68bef4167015d5f2cce35c43850304beb070556f9705fb746
      • Debug Pack [24.97MB]
        sha256: b07152fe913c780e54001304c355f7d13e8fcc5edbdd33cb2af6d910a043c504
      • Development package (SDK to develop PHP extensions) [1.21MB]
        sha256: 44e245c03f1ee1251220891648b409eb0b851194cf47b363b002ab9cd2926d8e

      VS16 x64 Thread Safe (2025-Jul-02 09:11:40)

      • Zip [29.45MB]
        sha256: 3888d81bf6f6a06ff2b9df5114b2ca40075d2631dc3e23584b503c40d44d8ed0
      • Debug Pack [24.96MB]
        sha256: 7a43919fce010b46534d1ca1d8e8e8e2b6e5f5b27c75bf2953371493d528154a
      • Development package (SDK to develop PHP extensions) [1.21MB]
        sha256: 3b57e891f858bfd57c9184dc3ae6f5d96be94ee7d23b33aaa787da4a50268407

      VS16 x86 Non Thread Safe (2025-Jul-02 09:10:00)

      • Zip [26.4MB]
        sha256: d05705d8db10b293c4e92630a327f108555e880d0ba2fbf7d1796b0e144b1ca5
      • Debug Pack [24.99MB]
        sha256: 5476d9d3afe03008ea5c4008cfce5826b74257f69fc755541fdf45255808be2f
      • Development package (SDK to develop PHP extensions) [1.21MB]
        sha256: 80d55f2891b1ad4af1fcefabba5d80eb42cbb25218b31cc3c072302f14fe75bf

      VS16 x86 Thread Safe (2025-Jul-02 09:06:48)

      • Zip [26.38MB]
        sha256: 142c9515ede8d4015758eaf00e9b3f16f578aff0f9bcdb3459c537ea1b5d47eb
      • Debug Pack [24.6MB]
        sha256: be0963317e3e5c08e2289070a077fe166da19433db593a782216da76793c0060
      • Development package (SDK to develop PHP extensions) [1.21MB]
        sha256: a921382def72689140cba60630e8cd4736222ad675d7456d0d5dcc916afc0d31

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