• 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 VC14, VC15 and VS16 builds of Apache for x86 and x64. We use their binaries to build the Apache SAPIs.

      With Apache you have to use the Thread Safe (TS) versions of PHP.

      VC14, VC15 & VS16

      More recent versions of PHP are built with VC14, VC15 or VS16 (Visual Studio 2015, 2017 or 2019 compiler respectively) and include improvements in performance and stability.

      - The VC14, 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.

      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

      PHP 7.4

      7.4 has no release.

      PHP 7.3 (7.3.9)

      Download source code [26.88MB]

      Download tests package (phpt) [14.18MB]

      VC15 x64 Non Thread Safe (2019-Aug-28 12:45:16)

      • Zip [24.39MB]
        sha256: 15eca62ca4cb1b95ecec375fd4525883863fbcca1dab9469818f07da04eacaa4
      • Debug Pack [23MB]
        sha256: 408b208a598178f24fbed6d5061b7bf4c0662f062519a7c801b0c497f71567b0
      • Development package (SDK to develop PHP extensions) [1.24MB]
        sha256: 5ec8ea3e210b3a3fdd880d0281beaba48c4c90dc1947a98c23f6758cf2b88f22

      VC15 x64 Thread Safe (2019-Aug-28 12:45:27)

      • Zip [24.53MB]
        sha256: 08058f9f8715b40ca5bcb41a32a999c6f82038aab9bc4ff915033904c88230f2
      • Debug Pack [23.08MB]
        sha256: ba9cddbc8a94efb305e2aefb0492eb88b9e5e9854e5b3d32aa186cec92e70ed5
      • Development package (SDK to develop PHP extensions) [1.25MB]
        sha256: 38542093cbc20de08edd3ee47a8810ac8ea1d90301927a84dddbd506a121584f

      VC15 x86 Non Thread Safe (2019-Aug-28 12:45:17)

      • Zip [22.77MB]
        sha256: 24464f824a76f74655d292257d8e5c8e3dd4f29ebd94f2dca7c2869fe8f8c7c7
      • Debug Pack [23.86MB]
        sha256: 937aa2416a360e5c8c091b25259f561eef5835c17b5ce6bc95b44a2807018bb5
      • Development package (SDK to develop PHP extensions) [1.24MB]
        sha256: ae99515388282db1ec27ebd036456e820f0b2a89afe51868542c6e11b1169f09

      VC15 x86 Thread Safe (2019-Aug-28 12:45:36)

      • Zip [22.83MB]
        sha256: 5f005d4bb2d036e263529e7d84a68a2c863cfecea4c5b533dbd55a8665e04ee2
      • Debug Pack [23.95MB]
        sha256: 80c5de4f994c19ff3ebbc7ad75a234231d866b0f7b4faf9fda193dd9248a3307
      • Development package (SDK to develop PHP extensions) [1.25MB]
        sha256: 3e522e98612b6ac15d9d793f11849f3552c4e64082dff76ba2c90afe218d738e

      PHP 7.2 (7.2.22)

      Download source code [27.18MB]

      Download tests package (phpt) [14.3MB]

      VC15 x64 Non Thread Safe (2019-Aug-28 12:32:11)

      • Zip [24.9MB]
        sha256: 0e76982721fa8f3b696fd15c457f2887f600a4bbdaef6516343998965a0d1f30
      • Debug Pack [23.15MB]
        sha256: 0d9dd3ee511a59a99e8da2487d6ded5b681a09ba4fcbae1d61b7361a489d53d1
      • Development package (SDK to develop PHP extensions) [1.24MB]
        sha256: a20b68f23262e584467ea8926647445fd12417cbcbfeb6178c975b2289569574

      VC15 x64 Thread Safe (2019-Aug-28 12:32:22)

      • Zip [25.04MB]
        sha256: 930d0793c380823cbf1be241068df1df4e4b557f81d443c3618811bca43a3c05
      • Debug Pack [23.25MB]
        sha256: 9acbc311af7f0933363f0aa8e2a9bcf5e4cfaa3d6a0e576b081e2710adcdb442
      • Development package (SDK to develop PHP extensions) [1.24MB]
        sha256: 847ce23ab006c37cb447130268bd56de7ea2d7a91070919401b1156794b1cd71

      VC15 x86 Non Thread Safe (2019-Aug-28 12:32:12)

      • Zip [23.25MB]
        sha256: 951890a478803eebad3f62c2c51997d8abd0456213be4e0f2b5abaad73dc04e2
      • Debug Pack [24.05MB]
        sha256: 4584736c479495334f1e3a0bf02feca7570bec9f37d6c2501602cdd3863c2838
      • Development package (SDK to develop PHP extensions) [1.24MB]
        sha256: 9e0353718ebecf7494f2e7b275dc2648599f542b0e6c2d9bf5418ce497d92eca

      VC15 x86 Thread Safe (2019-Aug-28 12:32:27)

      • Zip [23.33MB]
        sha256: 5ceb83527f8aa6217be1b9f12ce07131d1af26c01e7637d0ac0ad275edad7d1c
      • Debug Pack [24.17MB]
        sha256: 9611888dba250188bc40f30d7e3a9816fdfc02b90be6669e28583bc08af9526f
      • Development package (SDK to develop PHP extensions) [1.24MB]
        sha256: 373f59d27eb210804bfbb73f8193cb89d40fdb2670715d403059372a3b1fe032

      PHP 7.1 (7.1.32)

      Download source code [26.87MB]

      Download tests package (phpt) [14.37MB]

      VC14 x64 Non Thread Safe (2019-Aug-28 12:16:26)

      • Zip [23.14MB]
        sha256: 1db7b1f3615e4266d7a762f56bce7019303453e687df96af6ef7c1b2cb50f80a
      • Debug Pack [22.86MB]
        sha256: 50b27fcf6299800cecd6fbe0b450808d23d078ed5ea4727822c830d17915a98a
      • Development package (SDK to develop PHP extensions) [1.2MB]
        sha256: f80cc7e2a2a5d38ccfc2046da7103cc9118b51dc11e4e272d824bfb3883e98e1

      VC14 x64 Thread Safe (2019-Aug-28 12:16:43)

      • Zip [23.28MB]
        sha256: 0be9c61fe47dc6a811523ce330a6d8e38b3a5b270151173a96cfec224e36d5ba
      • Debug Pack [22.94MB]
        sha256: a2eeb842eca6d3f4acc8009cae0b381e4e8fcd2fa053946b8d322c25282b5e31
      • Development package (SDK to develop PHP extensions) [1.2MB]
        sha256: d76f125f2b4d29e45d37632b6d8a13e089d22396024b8bbb7f04509911ae9283

      VC14 x86 Non Thread Safe (2019-Aug-28 12:16:25)

      • Zip [21.39MB]
        sha256: 5bbe34962b866c38c0e3d293d2b27aa1d93022424994d7c30ff02065a390540d
      • Debug Pack [23.21MB]
        sha256: 31a8ae6af8eaa564ca6f267a973b0ece12d3fc0a1ac11785ab77ec88c617bf39
      • Development package (SDK to develop PHP extensions) [1.2MB]
        sha256: 535cd8c78e0ce8ca9fd88815f8f0a8e34dc19073444e5e0b9bfb654178e0d9ce

      VC14 x86 Thread Safe (2019-Aug-28 12:16:59)

      • Zip [21.48MB]
        sha256: 222fde354eacfa3426e3400c10d16acce26b60356dd0066b6ad7ab420531393c
      • Debug Pack [23.34MB]
        sha256: df0d45fedb439cf721a5b287f96367383794efe4892ce36133dd8e4f2c5c385a
      • Development package (SDK to develop PHP extensions) [1.2MB]
        sha256: 7ae565c72484b400397da969668791c7d8374e6185acef05bd5a32883f1c163f

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