• 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



      Past releases

      PHP 7.4

      7.4 has no release.

      PHP 7.3 (7.3.12)

      Download source code [26.99MB]

      Download tests package (phpt) [14.21MB]

      VC15 x64 Non Thread Safe (2019-Nov-19 16:11:11)

      • Zip [24.4MB]
        sha256: 31db1758f5603d14cf8dafdc2477cce680605a51340f07d85fc9d89dc5c7a9b2
      • Debug Pack [23.01MB]
        sha256: fa7342311092fa3c045f3246bc8283c0d8de022568871af3676a755675adf383
      • Development package (SDK to develop PHP extensions) [1.25MB]
        sha256: aa6cddf85c9ba587a1c60e85ce331e18a0da5a3ae116c7e1853be3a9f8fd0748

      VC15 x64 Thread Safe (2019-Nov-19 16:11:21)

      • Zip [24.53MB]
        sha256: b12cb3989fba36e4225c361638b5b88dee16b9d3e8f3bb832df492eb74153f56
      • Debug Pack [23.09MB]
        sha256: a29a026834d8370bafeb025f6fded9b76a0ae7778316aecf7a555f98d7f49f1f
      • Development package (SDK to develop PHP extensions) [1.25MB]
        sha256: 28c405aed9e025447e5a55c010b4eee884d975c4202932ad3d52a456e5a9643c

      VC15 x86 Non Thread Safe (2019-Nov-19 16:11:14)

      • Zip [22.78MB]
        sha256: 5a0f2e1b9ea31db770582344f3ca69cb31f3b7cb2d7992c74afa2ea3084d23c3
      • Debug Pack [23.88MB]
        sha256: 1a750880d409ca7b2796a3b3c99428a60d71d8e0ba534e6331a47a193f657f25
      • Development package (SDK to develop PHP extensions) [1.25MB]
        sha256: a94043410bf4505b5015c8d8cc9d9873029a2d1cdaacc79c255a274bf858fd69

      VC15 x86 Thread Safe (2019-Nov-19 16:11:27)

      • Zip [22.85MB]
        sha256: 636e624650dd9ede84a5c0745bc320c194f8ac7898a75fa11b4324ac4c3392a8
      • Debug Pack [23.96MB]
        sha256: 7f5ac97e4d44112058976ef6b1741700fcd2f270590920fc371775333ec36c22
      • Development package (SDK to develop PHP extensions) [1.25MB]
        sha256: 470970e5c3b90417847095b99c13107d93d377ded2ebe7b79c15e092f856e563

      PHP 7.2 (7.2.25)

      Download source code [27.22MB]

      Download tests package (phpt) [14.33MB]

      VC15 x64 Non Thread Safe (2019-Nov-20 23:00:02)

      • Zip [24.9MB]
        sha256: 782cc68ba3ccbde669ef2d2a8f2ff6b315967143983797d11f5e0d8833bf7472
      • Debug Pack [23.16MB]
        sha256: c359c87b85a89430053b06d1680d7e7ea1b3f13489b65b13a0d51d2ac82d1611
      • Development package (SDK to develop PHP extensions) [1.24MB]
        sha256: 695630111a437e884e8626aee3498deeae42af6ba9ea32a1049ab20c94ce32f9

      VC15 x64 Thread Safe (2019-Nov-20 23:00:21)

      • Zip [25.04MB]
        sha256: 95c71a3a1676f07f0f3e38f0dfe9210106d7ee70baa7d278c78cf12d949298cf
      • Debug Pack [23.25MB]
        sha256: 82754f9903347c1a4528994a30dc174d973fec4e8155e2b4811ae60daa860f7e
      • Development package (SDK to develop PHP extensions) [1.24MB]
        sha256: 4113d4682d2023e88fbd37462763aa991a20416b16dbc2876385f92a336455c2

      VC15 x86 Non Thread Safe (2019-Nov-20 23:00:21)

      • Zip [23.26MB]
        sha256: 1447a65aa1660925944d6a4641c45faa5e04fca0365571de42a50b6476db0efb
      • Debug Pack [24.05MB]
        sha256: 6779e1131da5cf1758c852868f124161f5c1cc6c88adeb0cfe751f20ce7b31c6
      • Development package (SDK to develop PHP extensions) [1.24MB]
        sha256: e18dcd7dbbac450e1cf96e377417f24cc4563b65342679887f800e89825ef044

      VC15 x86 Thread Safe (2019-Nov-20 23:00:41)

      • Zip [23.34MB]
        sha256: 526771175c54d367098059b005cc9f583f1d616fab495cef9aea96fbb7abc04e
      • Debug Pack [24.17MB]
        sha256: 62a1a5b3b59878cd47304c230f3d6bcb909e0d0d34b91a3ca28a926e37280871
      • Development package (SDK to develop PHP extensions) [1.24MB]
        sha256: b13271f666d3c1575ca6d546621388c7025aa335dc267320428e2434f8755341

      PHP 7.1 (7.1.33)

      Download source code [26.87MB]

      Download tests package (phpt) [14.37MB]

      VC14 x64 Non Thread Safe (2019-Oct-23 12:29:50)

      • Zip [23.14MB]
        sha256: 071438be5bbaee8b34894ddba7852b6040991a3c853ab8141efcb1b6655bbbef
      • Debug Pack [22.85MB]
        sha256: f76f8cb865302705263327a07797ca88bc05ff73fcc14f06316e6d6b205c164e
      • Development package (SDK to develop PHP extensions) [1.2MB]
        sha256: fd9466632a6580d4dadc6e4a9c044cb79d0af78a7f1f22e7e8c87db90de96978

      VC14 x64 Thread Safe (2019-Oct-23 12:30:06)

      • Zip [23.28MB]
        sha256: 2f6b0c6b62de88cf5cc16e68ac6d5e3b73fc01bcb03b51fe8c8534965b8e808c
      • Debug Pack [22.92MB]
        sha256: 116b137cf0ae50d2d0299f0ae76f7dfa2526e6b04e09626fa0876a23e2c1f16b
      • Development package (SDK to develop PHP extensions) [1.2MB]
        sha256: 0811d701c89ac085a59b82becb1f7f0da78d369845cd4a27628a3586e3b7f15c

      VC14 x86 Non Thread Safe (2019-Oct-23 12:29:50)

      • Zip [21.4MB]
        sha256: be810f87c0e88282fb8578a1fa3bbd8720c65425669b27e0437d6cde9aa90805
      • Debug Pack [23.23MB]
        sha256: 9c379d9b1f2359c3767b2788a869885eb0c1f8bdecf8f7e7459fcff9405ba00a
      • Development package (SDK to develop PHP extensions) [1.2MB]
        sha256: 6ae42cd340216258977c13a89079e7a1a1c64cc357ae58263a7cffdadb6b553d

      VC14 x86 Thread Safe (2019-Oct-23 12:30:21)

      • Zip [21.48MB]
        sha256: a2d5370b5d6f9125c3fab937f4b85aea8068875af30b8e3b665c633019a2a718
      • Debug Pack [23.34MB]
        sha256: e801548a4bf56403dbc857974f67e9a428f9b350ace5a2222fbeb2b132c36f40
      • Development package (SDK to develop PHP extensions) [1.2MB]
        sha256: aed2ecd859e3050d8c57cdb3863e57c2d00223b6afd2e1b096e3e276c0b2e681

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