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

      Download source code [25.95MB]

      Download tests package (phpt) [15.48MB]

      VS16 x64 Non Thread Safe (2023-Mar-14 18:22:42)

      • Zip [30.22MB]
        sha256: 2a3b323c605cf601405c5f52c77764c6b4f8e3d3f05b25c2c850f3b74a4829fd
      • Debug Pack [24.49MB]
        sha256: c291adff83908b7c99d17c2b2d2ddb85041755425042bec41dd12c8815ae8755
      • Development package (SDK to develop PHP extensions) [1.23MB]
        sha256: 2ce7b2020e196576e6456a7c8aaf9aea7a72fd5acdd71e571bbfe352aee10e60

      VS16 x64 Thread Safe (2023-Mar-14 18:31:10)

      • Zip [30.33MB]
        sha256: a3601fe23adfb4985be52eb3a7365716350e4b857c47583673a9aa53162885a3
      • Debug Pack [24.51MB]
        sha256: 931bdb8d04f1c461ffa128c003cdec56d59502cf32ef56e8b4a8466f464ed302
      • Development package (SDK to develop PHP extensions) [1.23MB]
        sha256: 65d9b5aeb821115c9523678daae31490681fb9dd743e426481f9a86d024e4c29

      VS16 x86 Non Thread Safe (2023-Mar-14 19:26:40)

      • Zip [27.13MB]
        sha256: f452f43a11e10934a03d14a20ac46bf98824a4c95d85db1fbe5c2c95588bda2b
      • Debug Pack [25.1MB]
        sha256: ca29577599b5aaa2cbfdc87acd8dd12208322d7be7d25e5b19f26d70fc4f897f
      • Development package (SDK to develop PHP extensions) [1.23MB]
        sha256: 0f15471ba0d0bdd1e907063ae58623343d3c9fb9b15dbfdb6fe3ba9b3f0b4806

      VS16 x86 Thread Safe (2023-Mar-14 18:22:20)

      • Zip [27.1MB]
        sha256: 01ec453736bb513b136ebf0c7f12490c593888b1c99d44955d88e4b0b2648b5a
      • Debug Pack [24.75MB]
        sha256: c52dd1c8b48b93cff460543be61776d1a021a42eb0d67194ea4ba043d11336b3
      • Development package (SDK to develop PHP extensions) [1.24MB]
        sha256: 2b1257d26d8503f3b4aea586ddfa905755f75fb34ccb711c5db14c1a3d31a8e3

      PHP 8.1 (8.1.17)

      Download source code [25.45MB]

      Download tests package (phpt) [15.21MB]

      VS16 x64 Non Thread Safe (2023-Mar-15 00:52:38)

      • Zip [29.26MB]
        sha256: 63162aff4e103e22dc3526372558811a03ef00a24014444d67a1b644b42f7405
      • Debug Pack [23.85MB]
        sha256: 67c2e21a2ac5d8b74c216226673c25be4119011f3ede6b5324d9385f1b006f3d
      • Development package (SDK to develop PHP extensions) [1.21MB]
        sha256: e6211c41df519f54be6488e0d71edac67d8ce7b1340dcb9ccf84bae54e955e0a

      VS16 x64 Thread Safe (2023-Mar-14 23:52:36)

      • Zip [29.37MB]
        sha256: e6ab21c9535d8823402eb5266a5d289ee05d0fc4bd72a715b6be29b7990b43d1
      • Debug Pack [23.85MB]
        sha256: 46a88cca708595c917266da1e26b1edc95a397c3742b357e7ab2fcb2878f9373
      • Development package (SDK to develop PHP extensions) [1.21MB]
        sha256: 51dcdd07047e3b3bf58acc80d6bb9b36cf7cda68c23f33b0bd0e06fcf95207a6

      VS16 x86 Non Thread Safe (2023-Mar-14 23:34:20)

      • Zip [26.32MB]
        sha256: af2bf4a8b8dc5217220831aeb48e77fdba78451c9d1224128eba6d7294f026f1
      • Debug Pack [24.41MB]
        sha256: 453006fd9cbe91b0376e4c19a8aef235160556e24e1e08e24d2915274ba12ead
      • Development package (SDK to develop PHP extensions) [1.21MB]
        sha256: bc87c1eb4162ae57b3b2dd8b926c88e08d27ad9704b2008a63763a9cdfa244d2

      VS16 x86 Thread Safe (2023-Mar-14 23:32:40)

      • Zip [26.3MB]
        sha256: da1f323ccb32a451d5ade510da492e06bd60783250c7f16407980568ae93d245
      • Debug Pack [24.06MB]
        sha256: a9b620efb347e4dbdcec2b224e354f1047d49d1f1fff69f747113ffb8cf36818
      • Development package (SDK to develop PHP extensions) [1.21MB]
        sha256: 3e5e33c74f17ff21f94ae047c5cff025a2f8652923f045282389c3b165e8063a

      PHP 8.0 (8.0.28)

      Download source code [23.47MB]

      Download tests package (phpt) [13.56MB]

      VS16 x64 Non Thread Safe (2023-Feb-14 12:39:52)

      • Zip [25.53MB]
        sha256: 6bcd82934073488cc451f2f1658feedeb43ef5077e9ae7bcf354ae5c8ec69b4a
      • Debug Pack [23.21MB]
        sha256: a14787e9db2fa257ce1dc2db9e3f6e833c98dd3c7f19d8bcaa58f704d8d9cc5d
      • Development package (SDK to develop PHP extensions) [1.16MB]
        sha256: 1c8cb860b53a53451161937dff2fb5b9c2424c06b3b2dda97c02096a7f6c25e9

      VS16 x64 Thread Safe (2023-Feb-14 12:42:34)

      • Zip [25.63MB]
        sha256: 6489eb337cf15547c87113e699d8c8a9e43bee6bc536416d6ae881e95fdee3a8
      • Debug Pack [23.22MB]
        sha256: 02c67045de8db9d1e71987b678c5c4c1275adf7a55456d1fd52ff092dfdde46c
      • Development package (SDK to develop PHP extensions) [1.16MB]
        sha256: 45e00e21dcbb6bd868c88bf2c5a6d691965569234ece45171d8d20b27c559e7e

      VS16 x86 Non Thread Safe (2023-Feb-14 12:41:08)

      • Zip [23.66MB]
        sha256: 1b9556bae52333eb2a77381aca3eb0acfb127adff97432ea0ffb163052a1e6e9
      • Debug Pack [23.87MB]
        sha256: bd79cf1437fff6547bced8b7972d0f888f98206091cbd56258c453b08c2e0db0
      • Development package (SDK to develop PHP extensions) [1.16MB]
        sha256: c807ee862b5775671be05bc76720ba3dc644ae55789e28880cc88ce32cae4326

      VS16 x86 Thread Safe (2023-Feb-14 12:39:12)

      • Zip [23.65MB]
        sha256: 5a14786dbc1d1bda2056056b3e8c55d369ed9baba4c977eb127b427155734d97
      • Debug Pack [23.54MB]
        sha256: 14b6ec1b04ffc002cdb11e0bdb6a1c4472fc886bfda4406c3b602557d15320ed
      • Development package (SDK to develop PHP extensions) [1.16MB]
        sha256: 3b31c3daf3cbcd14dce6377b8409b3eefb32cebe0f2f44cc3f85d840f77e242c

      PHP 7.4 (7.4.33)

      Download source code [22.85MB]

      Download tests package (phpt) [13.54MB]

      VC15 x64 Non Thread Safe (2022-Nov-02 21:46:55)

      • Zip [24.92MB]
        sha256: 14ae3250d4447c8ccfc4c45a70d90adfbcd61e728d85f0be56a7ddf8f9c8aace
      • Debug Pack [22MB]
        sha256: 922f3338102601736c465b9815a254e0cadcd873d963c17671ace86b135b54b0
      • Development package (SDK to develop PHP extensions) [1.08MB]
        sha256: 70bd4e0770d36c6470ce159c3eb6425226de00248ed5eb63476c43705e6f4b7a

      VC15 x64 Thread Safe (2022-Nov-02 21:47:05)

      • Zip [25.02MB]
        sha256: cdbb85b45f38f282f05764ca08648b5f92db99c75b2fb3848eb4a559f6553b48
      • Debug Pack [22MB]
        sha256: 4d6f92447195f6bf70ed214c65f6ca0f9b299e0af109de56b8d284f66d287703
      • Development package (SDK to develop PHP extensions) [1.08MB]
        sha256: e7a2b5770be98f0d40da8be9d1c6b58738f1bad66832dd0b98e7a7d1231376bd

      VC15 x86 Non Thread Safe (2022-Nov-02 21:46:54)

      • Zip [23.2MB]
        sha256: 3719efc430c3b82cf809ff1b4bb7d720e388f793b1e1857e4d892c62fa950b68
      • Debug Pack [22.93MB]
        sha256: ba5b7833916dc21fa61e0eae8fae6a396c631b3c9249920e554905821442b37d
      • Development package (SDK to develop PHP extensions) [1.08MB]
        sha256: 7c4eeecdb1fe4ac3df66eb4851930defea1e773a3174b7e7a33223beb570c627

      VC15 x86 Thread Safe (2022-Nov-02 21:47:15)

      • Zip [23.18MB]
        sha256: 6adcf02c02634f258f6b6b2bb666f22916c9bd986db2ccae05acb9868a35f847
      • Debug Pack [22.6MB]
        sha256: fee55643a1ca1b2111649e2abd10ca29776f48d824993c62153528e0574d8fa1
      • Development package (SDK to develop PHP extensions) [1.08MB]
        sha256: e5ef2f8559be689dca4134d84a27368bc90829b3a3e9861b77733850ac1378ec

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