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

      8.2 has no release.

      PHP 8.1 (8.1.9)

      Download source code [25.29MB]

      Download tests package (phpt) [15.11MB]

      VS16 x64 Non Thread Safe (2022-Aug-02 14:49:14)

      • Zip [29.24MB]
        sha256: f3dbfda26ed2c75d49dc890f22b30abd7feaf2487653d8335eed53605a254836
      • Debug Pack [23.83MB]
        sha256: 6a6b0917d1ed113c87635c10b205b235b638171817bcc62ece3ab79cfcc71141
      • Development package (SDK to develop PHP extensions) [1.21MB]
        sha256: 18d76eb71918b23ae44f9317ad5e14c3b6042d6e03c70898127103b252dea9a9

      VS16 x64 Thread Safe (2022-Aug-02 14:54:08)

      • Zip [29.35MB]
        sha256: bb68c62740565157acc86d57e2c94db9cbeb704a4444c1444014762324981f0f
      • Debug Pack [23.83MB]
        sha256: 34bf09007cffacb8f0b5c84956ac1d086b1451824bb205845154dbb70a3fe636
      • Development package (SDK to develop PHP extensions) [1.21MB]
        sha256: c079282c1b9c8760de0a8fdc083b0c171c2517a182d113b2f6a99ec7313e4529

      VS16 x86 Non Thread Safe (2022-Aug-02 14:55:10)

      • Zip [26.31MB]
        sha256: 910146946b77b74e019ce8663ae51af2a735040a35362baf0d6092fc04779b21
      • Debug Pack [24.4MB]
        sha256: a35863b4ed9da600d0067bff50fa566654a5c57aa7bdd6fa196d2f4061630594
      • Development package (SDK to develop PHP extensions) [1.21MB]
        sha256: 0f6b34baf703407d1cadd39afeb823706f16d78e0a467673ff7cbb7afb6beeb8

      VS16 x86 Thread Safe (2022-Aug-02 14:47:44)

      • Zip [26.28MB]
        sha256: 950112847abe1fb5862bdfa3e75e17330db89f1f57f1666a678ce6aefff7f6a1
      • Debug Pack [24.04MB]
        sha256: 2b36953750ee2d7e7f19274f62657825c78abcad819862f87e0a059d5d1c66b3
      • Development package (SDK to develop PHP extensions) [1.21MB]
        sha256: 775bbe5458f60c8d9da56bcc014d007354b9af68009e4db1d05c0f2e3bdc5448

      PHP 8.0 (8.0.22)

      Download source code [23.43MB]

      Download tests package (phpt) [13.52MB]

      VS16 x64 Non Thread Safe (2022-Aug-02 09:33:02)

      • Zip [25.52MB]
        sha256: 073f80204dd372797ce3c6354b3f23668dc729cc0f1425dec1fc801710cd847f
      • Debug Pack [23.2MB]
        sha256: ace6662c207e9ab130e96f41bd89a1028fa0eec8cadbb19280f5c45b2d4a9b91
      • Development package (SDK to develop PHP extensions) [1.16MB]
        sha256: 1d28cea9aab2f80b6233772326df33694599e9571ef5aca2a9b92617e7d7b72e

      VS16 x64 Thread Safe (2022-Aug-02 09:35:40)

      • Zip [25.62MB]
        sha256: cbf96ecd25ad8356c0e1922378ba9f1bc64e18973cc752fa011ff8a75dee7cd4
      • Debug Pack [23.2MB]
        sha256: d1b01e13af8097c419288d61ac8b6e0ba13c22acd843d6784db7e6720938ab75
      • Development package (SDK to develop PHP extensions) [1.16MB]
        sha256: 12e8be81b9d7e478c28bee0940c6ddcad0e73a2ec52293e5899a58bccd7e4dad

      VS16 x86 Non Thread Safe (2022-Aug-02 09:40:48)

      • Zip [23.65MB]
        sha256: f7e0b887215482e3d572eaddb84e65f3986acf249eb595e1bf509999417dd1fc
      • Debug Pack [23.85MB]
        sha256: 96a7d68a7c8af9d11bc9aa45aada483c1329a1710da0705877c52c650f2ce790
      • Development package (SDK to develop PHP extensions) [1.16MB]
        sha256: 6c37b5a0c459e12228305fa4563f383f2556365b14f54ffc3903eea7286a622e

      VS16 x86 Thread Safe (2022-Aug-02 09:31:32)

      • Zip [23.64MB]
        sha256: 0c5295a852d4f17eb616a871a5762e9d4436b2620d6a29fb0988afc450b12f28
      • Debug Pack [23.52MB]
        sha256: 26dc9618279a7b7ef3486a79464c11f0211a9ae38d32c56232c30f4156f12a2c
      • Development package (SDK to develop PHP extensions) [1.16MB]
        sha256: 19b16f6a24501126d5b03bc8f8ce954eb6dd61d89d08bb9de840dc9dc3c231e5

      PHP 7.4 (7.4.30)

      Download source code [22.85MB]

      Download tests package (phpt) [13.54MB]

      VC15 x64 Non Thread Safe (2022-Jun-07 22:15:51)

      • Zip [24.92MB]
        sha256: 006eb876d53be539224119337f43ba78965adf72fe0af61fa421e8fb526869a2
      • Debug Pack [22MB]
        sha256: 5272151da7aa1ed29e0792b641cbe1bd2ec458d647bf352665ec484242fc5484
      • Development package (SDK to develop PHP extensions) [1.08MB]
        sha256: baef1bfb1479df6ebb51f69bb57dfd07b7bf8de2ee664943eb816a9bdb983162

      VC15 x64 Thread Safe (2022-Jun-07 22:15:56)

      • Zip [25.02MB]
        sha256: ddf28e6be9e61a008c347139c70bd6aa9c80e4771eb7fdd46b80e6c394c1d8dd
      • Debug Pack [22MB]
        sha256: ba23bd0ee5814395f25237e6e420b918d2dc135f5514967f079d446e4f956cfc
      • Development package (SDK to develop PHP extensions) [1.08MB]
        sha256: afea1ee5879476c5ad9022ecec41be0428a69e58357e0241e39911dca593e177

      VC15 x86 Non Thread Safe (2022-Jun-07 22:15:38)

      • Zip [23.19MB]
        sha256: 3e2fb7af829f3548c1b272690f03f6ea04f92056a78e7872c1969d816a2f2278
      • Debug Pack [22.92MB]
        sha256: bf3a6836576f5c7c9f3f623c85e12d8379fef383d9fca1f69eb78fa3f01515f7
      • Development package (SDK to develop PHP extensions) [1.08MB]
        sha256: 66aa4e448c3ce00aa3b86431a4e4bc5761a264e5d5cf2a3c5acae7d244493a1d

      VC15 x86 Thread Safe (2022-Jun-07 22:16:00)

      • Zip [23.16MB]
        sha256: c3de1f806d02353d9d70bfe62f3ae18be84c4d02f98f26c393db453abe91b88f
      • Debug Pack [22.57MB]
        sha256: c1f31f8e1c4de22bdecfdaad9c31b6bf70701b61ddb71fca7fe7ad82373ffbd8
      • Development package (SDK to develop PHP extensions) [1.08MB]
        sha256: b50fd010fafd54db7fb799567cf8a176ed3e8d6010a734be20bf27501f15376d

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