• 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 has no release.

      PHP 8.4 (8.4.14)

      Download source code [29.75MB]

      Download tests package (phpt) [17.41MB]

      VS17 x64 Non Thread Safe (2025-Oct-22 08:52:16)

      • Zip [31.95MB]
        sha256: 98d630843c1d9fbb01f601feafc295bae2fc83b8104b03b318d6129f52677435
      • Debug Pack [36.67MB]
        sha256: 7202334474822bbeb755461e884709e786983c955bd7c84c8b7df1629d762270
      • Development package (SDK to develop PHP extensions) [1.35MB]
        sha256: f3039008d9f8f9be9e6b9bfd460e39f7df6fa126f33c30d581e3adc9daffad44

      VS17 x64 Thread Safe (2025-Oct-22 08:55:24)

      • Zip [32.1MB]
        sha256: 9a2b383e618770846686f74303eb4bcae25f399f0127fb53da820dc821623ee3
      • Debug Pack [36.82MB]
        sha256: 96a972d208dfca22e8675cba49902ab7b4fb4cda27883a4c7b5e1ab5222be093
      • Development package (SDK to develop PHP extensions) [1.36MB]
        sha256: eb9697d9849d4b28733c76ada0098907feb45d1a7847fbb4eb09e095f3f1da89

      VS17 x86 Non Thread Safe (2025-Oct-22 08:50:48)

      • Zip [28.67MB]
        sha256: de0d8e0a396bbec998fdeeb03bb49f853ce91647257baaa6373c863bb1feeeb8
      • Debug Pack [37.31MB]
        sha256: c14b822ad9b9fecd70129b6e6d17ed43bce7d7df497eb94d77943dc34caea11c
      • Development package (SDK to develop PHP extensions) [1.35MB]
        sha256: c3cd768601990d0ec3af1a47ee31a09330cb09169d3545b98844b2c09655e01c

      VS17 x86 Thread Safe (2025-Oct-22 08:53:10)

      • Zip [28.69MB]
        sha256: 5493862ca86fe69d7bfaa252eecf5c276ec4d0f21e65debc6c62d2fbee6384ca
      • Debug Pack [37.3MB]
        sha256: 9e05f632308ca220bf1e52078f5a44233083eea0836ecb6e9c1c38ce4da8800e
      • Development package (SDK to develop PHP extensions) [1.36MB]
        sha256: de9e12004b9305c7cd7eb0ca91615bb8391a6c2948cd3a69662813a61b11f111

      PHP 8.3 (8.3.27)

      Download source code [27.5MB]

      Download tests package (phpt) [16.67MB]

      VS16 x64 Non Thread Safe (2025-Oct-21 16:04:44)

      • Zip [30.72MB]
        sha256: 30e52d475c89aac93a6a1931f92966e0cfd65f3badc4c83592920a917791f014
      • Debug Pack [30.22MB]
        sha256: e6220c6c4caa2e1035e9d94aefb396da44c53b97361527d1caf98f311a02b28d
      • Development package (SDK to develop PHP extensions) [1.26MB]
        sha256: 93698465a36932f877e42a68e96494048e36bc187cfaf219c1c95317e8c7cac9

      VS16 x64 Thread Safe (2025-Oct-21 16:04:28)

      • Zip [30.86MB]
        sha256: d1fc886c8f1b6732aa60361da8c935b069f98e71b5527742edf0e66caa86cca7
      • Debug Pack [30.36MB]
        sha256: 7ce24c2f9b200b6652738eeca38e5f926944748e149fb762ef72d90b0f38e8a6
      • Development package (SDK to develop PHP extensions) [1.26MB]
        sha256: db08d90264e70e9614c57e58ffb486016a3da89648783197251746ab14522e58

      VS16 x86 Non Thread Safe (2025-Oct-21 16:02:26)

      • Zip [27.59MB]
        sha256: bd3e899abd280588c37624272206c6e14b159c44a3724e91e9b11cad88d0db93
      • Debug Pack [30.26MB]
        sha256: e22dbd5dd42f0462e5875711cb12788260c51f1f0ee98ffa24e1b9f73c917d70
      • Development package (SDK to develop PHP extensions) [1.26MB]
        sha256: 633cb111dfc6650bec42d414bfc4696fab1a0eb9e26f91e1a7e36fefcb78448b

      VS16 x86 Thread Safe (2025-Oct-21 16:02:56)

      • Zip [27.57MB]
        sha256: c2c65b6196ebdb278daeb30adde5107186874b6533b7cd99715a0fcfac91d7e3
      • Debug Pack [29.93MB]
        sha256: fd39946cbab112e5622bd8887745347d93ee317c4dc995657fcf340dccb7824d
      • Development package (SDK to develop PHP extensions) [1.26MB]
        sha256: 19117777097e9e53d665b77b27366bc977cc2aaf048a7b9fbf45fc8883209e6b

      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.