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

      Download source code [27.14MB]

      Download tests package (phpt) [16.33MB]

      VS16 x64 Non Thread Safe (2024-Aug-27 21:48:18)

      • Zip [30.67MB]
        sha256: 2e302fd376a67cfb43dfd6c8fec1ccd503604cee2717fddc4098fedfb778ddb9
      • Debug Pack [25.62MB]
        sha256: f943d61f681c4a14dc40c2ef351b207ec3c0322c9bba88675b6620b1c9fb4376
      • Development package (SDK to develop PHP extensions) [1.26MB]
        sha256: 91701790534ff263f8d2783065d048a3e6691965ec06c79ca5b86ad1356c6f22

      VS16 x64 Thread Safe (2024-Aug-27 21:48:40)

      • Zip [30.81MB]
        sha256: ebebd731ba6953302ce0f4827c5673417286b6c1ec5c2f5dc3eac321ca15b41c
      • Debug Pack [25.73MB]
        sha256: 77acbdb639fb66f5b0e1fed9efb99396976644a4059d0f0f0bc2d0f709732548
      • Development package (SDK to develop PHP extensions) [1.26MB]
        sha256: 8617c4f01d7c4983d490f7946aa5755db63ee57af701ae7cf03b338bf5d9aab4

      VS16 x86 Non Thread Safe (2024-Aug-27 21:46:22)

      • Zip [27.55MB]
        sha256: de9ce6cd56604c822c0d49d99322065c8dcb7a7c81778ec8a49edd6962d0a4de
      • Debug Pack [25.82MB]
        sha256: 2f2a0d3a5beebc60a3b88cd333e070a5dcf175e2066726e115f844ed0c800a0b
      • Development package (SDK to develop PHP extensions) [1.26MB]
        sha256: d73b5b3f44ca29038a83e806b8a59705486fed6547930e36dea849ab3ca8997f

      VS16 x86 Thread Safe (2024-Aug-27 21:46:02)

      • Zip [27.53MB]
        sha256: 652cf6aae43d63c6a4c1e5449c686ef34b6a142e456bc7ac622feb9092f22c19
      • Debug Pack [25.49MB]
        sha256: f1f8d50618f85b54fedb686e4f5fa327d26083e1a28799f740ce986d5717afb7
      • Development package (SDK to develop PHP extensions) [1.26MB]
        sha256: 0dfae151b6a666325f311bdcda57fc948c144c895d67a9d1d030e83a28c3a4e6

      PHP 8.2 (8.2.23)

      Download source code [26.35MB]

      Download tests package (phpt) [15.76MB]

      VS16 x64 Non Thread Safe (2024-Aug-27 16:47:26)

      • Zip [30.31MB]
        sha256: 3bb6b5b08fc735dcbe1ba0984da0430c34bdad9212e1b737d13a452660c9b8d4
      • Debug Pack [25.51MB]
        sha256: 91cd697e61fce9a0e8a15cf885e5809f2be2f24b176a2367ab15ff3dfd9f5f30
      • Development package (SDK to develop PHP extensions) [1.24MB]
        sha256: 5b2c749b1745f7d98b3437819d65d94b2a64ef34dc03b5e9f2a76deeaea2513c

      VS16 x64 Thread Safe (2024-Aug-27 16:49:26)

      • Zip [30.42MB]
        sha256: 7bd783fe993d9e4076d16d800782562c0be1a62f570ecc70317a829d94ab0806
      • Debug Pack [25.58MB]
        sha256: 16c601adaad089695491757a4c3ff1c9ffd79d63e15d82337221a4ee3e1076a1
      • Development package (SDK to develop PHP extensions) [1.24MB]
        sha256: 97c4b05eca6f93db47346a245794b9c90a1b9d0d8102417d3f563f30f638c7dd

      VS16 x86 Non Thread Safe (2024-Aug-27 16:44:42)

      • Zip [27.21MB]
        sha256: 3cd1bf14b28c13afbe9afc0abd884d5cd5ceb765258a344193b75b1d3357be88
      • Debug Pack [25.56MB]
        sha256: 0bbd49e883f19d30db97da8875b803acac7e89041f821b49deca4ff682bab81b
      • Development package (SDK to develop PHP extensions) [1.24MB]
        sha256: 54db7fbb0d51872c126437cdf86afa878d45e55e9f3ea08d9f5cab6e491e6579

      VS16 x86 Thread Safe (2024-Aug-27 16:44:10)

      • Zip [27.18MB]
        sha256: 2e2cfc72fa08a76debc549f0edc76e30e3013ce2d07479cd3298328014963b67
      • Debug Pack [25.25MB]
        sha256: d8b976b81b517ccf02d14c0b848c2e39e377a38ea4621cabf408b3c7f881f2a8
      • Development package (SDK to develop PHP extensions) [1.24MB]
        sha256: 0960a9d7a97fab3c458e57d34918828e5152b6d94dfd26afd02362cbcd67c340

      PHP 8.1 (8.1.29)

      Download source code [25.68MB]

      Download tests package (phpt) [15.38MB]

      VS16 x64 Non Thread Safe (2024-Jun-05 11:01:32)

      • Zip [29.33MB]
        sha256: cacf6b9dd516741e77dbe8ef89f8cbfefc040e059c60fecdbea5e1e9a7ecbf17
      • Debug Pack [24.87MB]
        sha256: c133eb233c05388c39a0ac6bc469e184b4415c098de6f5b79af5408d57decc7e
      • Development package (SDK to develop PHP extensions) [1.21MB]
        sha256: f20e2e7cecb0ccd59ed4d6bb28903df775deb451c8bd79e71c1e9238743b3844

      VS16 x64 Thread Safe (2024-Jun-05 11:04:04)

      • Zip [29.44MB]
        sha256: 5fe3cea08c732ebf67c7f1b3201b29d4ea76601aebc8a8105433a30ef03ac243
      • Debug Pack [24.83MB]
        sha256: 03d5ca1f2d04e825961c7151e179d78e87c3689bdeb8fa46215c469a68eb301a
      • Development package (SDK to develop PHP extensions) [1.21MB]
        sha256: f95b57eb9e05a2fa40da864151637f7ff8cc5cbc4c507c9c81375444c6634925

      VS16 x86 Non Thread Safe (2024-Jun-05 10:08:54)

      • Zip [26.39MB]
        sha256: e6041cb3e8d3442eee33796a418422a219f8aeebb741259ecc5c73097d0af002
      • Debug Pack [25.02MB]
        sha256: 58bba6966603d0a730a5bd8b3f018ae6f7a6b7d9c32515f0f081140c65bbfa2d
      • Development package (SDK to develop PHP extensions) [1.21MB]
        sha256: a46e94a2c773873fcdde2521ec813cd2725062a2c14801e7b043820af957808e

      VS16 x86 Thread Safe (2024-Jun-05 11:00:38)

      • Zip [26.37MB]
        sha256: 77a3555962012d7bd1f5665caa13ddbeebc8bd69393a48acc250a489248b1678
      • Debug Pack [24.67MB]
        sha256: 476284a30e16bf6d2cc2c9f97e99cccdab7664a1c131649a1dda1bbf1c56f4dd
      • Development package (SDK to develop PHP extensions) [1.21MB]
        sha256: 569f98a729d0fd8a532b7a5d6e4844707f4193671a3cabb593f3c16f45577786

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