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

      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 7.4 (7.4.5)

      Download source code [23.21MB]

      Download tests package (phpt) [13.34MB]

      VC15 x64 Non Thread Safe (2020-Apr-14 22:48:35)

      • Zip [24.79MB]
        sha256: b61f1cffdf0ec4e4dde54439abd5996780ed5dd11960a43ab0e3caf546128773
      • Debug Pack [21.94MB]
        sha256: 77a111f726b1ea3de65ea36323599f184da4f9dc8ab5b51ee8f4863b7ee70b08
      • Development package (SDK to develop PHP extensions) [1.07MB]
        sha256: e4d26f3296485b1fdf04579bec6b033e71b823540c1ffccf11e391a8c123a844

      VC15 x64 Thread Safe (2020-Apr-14 22:48:50)

      • Zip [24.9MB]
        sha256: 89f699dae7c67b164ddb9094a1383324b48814a42bbd222c771c0ff474eabf1b
      • Debug Pack [21.94MB]
        sha256: 029d4ae045ab6b9d2527081c118599c8133fcc01b7cc16775a8acbc95d7a931b
      • Development package (SDK to develop PHP extensions) [1.07MB]
        sha256: 4ea958b8b0a537e930cde8b8a10e5ec2664028f995c391439ba294bd8695119a

      VC15 x86 Non Thread Safe (2020-Apr-14 22:48:40)

      • Zip [23.09MB]
        sha256: c9605b7243fb62a08d07b4b7e6565d73afa43816c040d9234a7fd79c05571d24
      • Debug Pack [22.85MB]
        sha256: bee836a17e4ddb53ddeef4d8f6618c773e912f5f47716dcfd99eb9a28225964b
      • Development package (SDK to develop PHP extensions) [1.07MB]
        sha256: 6296066a73515e1e70a8aea779a4aaad40c2ea4297e8c4e12c8a401076410e3e

      VC15 x86 Thread Safe (2020-Apr-14 22:48:54)

      • Zip [23.06MB]
        sha256: 55ca2403eba15059ab9b2c9c3c339c1ffe098f85a0f1bba89fad0d2af3775a0c
      • Debug Pack [22.52MB]
        sha256: b7e2c2123aa5aa1af1f69d73a188bc134d8ff5086e0873e9c945f7fe1ad991f0
      • Development package (SDK to develop PHP extensions) [1.07MB]
        sha256: 53a8365e3ac62b444e6d7929ed644e761f6950dfc693971567cc00130452f43f

      PHP 7.3 (7.3.17)

      Download source code [27.05MB]

      Download tests package (phpt) [14.25MB]

      VC15 x64 Non Thread Safe (2020-Apr-14 15:42:52)

      • Zip [24.44MB]
        sha256: 9867cb9ff5e7762d19b76183ad81625e6012671f73ca83bdd2d8d1e9cb1eb4d1
      • Debug Pack [23.09MB]
        sha256: 85ce26499c41fcc20efbb4433c000f531c9dffb5ef5c6e576ced7e711c329958
      • Development package (SDK to develop PHP extensions) [1.25MB]
        sha256: 01245750f54819c41f570701d7ca3a8ddc2abccfbc79a12dfe557bcb551d4f6c

      VC15 x64 Thread Safe (2020-Apr-14 15:43:01)

      • Zip [24.57MB]
        sha256: d4f8877b2ec13fa148c062e86b96f86b1d97b8ccaf832743343489e1f40fc081
      • Debug Pack [23.17MB]
        sha256: 23631ddd21997b1368d2b97a08e6bffe1adf6b61b2f4ee111df5f1952b5cd46b
      • Development package (SDK to develop PHP extensions) [1.25MB]
        sha256: 1f970fabeabe6f50a6b5cea435245984667648c6ab79eac3d97e903b03196a9c

      VC15 x86 Non Thread Safe (2020-Apr-14 15:42:53)

      • Zip [22.81MB]
        sha256: 25600fe13907e27215fe00e928ec59d211f63a919a93c569eb134b4d701d0b71
      • Debug Pack [23.98MB]
        sha256: 61b5454bc8779196478e8824535a5d7ac7a029125accf95f8cde1ec7633171a3
      • Development package (SDK to develop PHP extensions) [1.25MB]
        sha256: 0b8d3d5bb1657f1620f96d013c7105a55c4c2ddedb4ee498aea108cf256cec0b

      VC15 x86 Thread Safe (2020-Apr-14 15:43:10)

      • Zip [22.88MB]
        sha256: 75e529722cc49e38926948e73081a9de9828537323fc4f303ad4ffcf16bcd5f5
      • Debug Pack [24.04MB]
        sha256: 6f4b9732953b56de23289285e547735545610d56bb65b3a0cc87b89102276558
      • Development package (SDK to develop PHP extensions) [1.25MB]
        sha256: e3ea25c230a1055b31ed7f628f5a360d81ba23a13a2821d5559ded46087412f1

      PHP 7.2 (7.2.30)

      Download source code [27.23MB]

      Download tests package (phpt) [14.34MB]

      VC15 x64 Non Thread Safe (2020-Apr-15 12:18:52)

      • Zip [24.9MB]
        sha256: b5a39c8ee3657bbcf57f23fdeaaa7059517a644d80514526b5333f89d9c3b502
      • Debug Pack [23.16MB]
        sha256: 69efc87882a590f9e17c9ac32e69797527c055520cfb6300dc2cbc83c764a169
      • Development package (SDK to develop PHP extensions) [1.24MB]
        sha256: ed16d42cdd68ee44300ad2e81554cc6428ee8bf89a82f3cc294f4624fd551400

      VC15 x64 Thread Safe (2020-Apr-15 12:19:03)

      • Zip [25.04MB]
        sha256: 8d053b8f4acdf061a4221badfabcb90fad1229ce4e1327965bf04ef470715ced
      • Debug Pack [23.25MB]
        sha256: 2ec77071d5f3bc1c7442c16cd9ec3bee5561b9f5e08d9e34e16372e098be408a
      • Development package (SDK to develop PHP extensions) [1.24MB]
        sha256: 836bb9f0acb94aaa9b06bf94535b6c2290a97796453f5d4793141fc25df6d77d

      VC15 x86 Non Thread Safe (2020-Apr-15 12:18:51)

      • Zip [23.26MB]
        sha256: 8208de90f2bed370eda6c63ac3c41d9a198a71063d91eced28487308e14768a2
      • Debug Pack [24.05MB]
        sha256: 34906b8bbcbf7b2aad4e3d33b0191a4994fb7418f9547bb016b544d6e7c01235
      • Development package (SDK to develop PHP extensions) [1.24MB]
        sha256: 35d751172fefa3f9f54896b5d420113431fc0fa0bb3d3651ae1159bb53a0729e

      VC15 x86 Thread Safe (2020-Apr-15 12:19:08)

      • Zip [23.34MB]
        sha256: 7dc759d375ed70cca0873b1699cd881222fcd32059ab8d7b81afab81587087c4
      • Debug Pack [24.17MB]
        sha256: 3349b23ce9a22dda5c249f5b252b41e11eda01b5bd44c7cfe8f3779443174fee
      • Development package (SDK to develop PHP extensions) [1.24MB]
        sha256: 1d1454381d9625cbffb17c40188a8b89904837d214db735f67312cf459937aa1

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