• 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 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 2015, 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.3)

      Download source code [23.18MB]

      Download tests package (phpt) [13.32MB]

      VC15 x64 Non Thread Safe (2020-Feb-18 22:57:11)

      • Zip [24.79MB]
        sha256: a0e009750b0550f531a4c79039e97bbfd20082abf656abb0cae64641ed3966ef
      • Debug Pack [21.94MB]
        sha256: 0b8c7048a2066d4f6e70440a2d80a9d87e42bc587d6bcc1c71a4a9e4ca1566f8
      • Development package (SDK to develop PHP extensions) [1.07MB]
        sha256: 4ff94f9b2b0f4567136fea16520f33689d1f9fe6527444be386a0a5b20d882af

      VC15 x64 Thread Safe (2020-Feb-18 22:57:21)

      • Zip [24.89MB]
        sha256: dab4ffd3cfcd918acbfb76c72c342d580d4a3aa61dfc4071375421f9844ecbf8
      • Debug Pack [21.93MB]
        sha256: d21ab3a7eec178367bcb0e5c6550676dd38b35031fcea19e35ee34d5dbf0bd8e
      • Development package (SDK to develop PHP extensions) [1.07MB]
        sha256: 2ebc9e326fd2795b52840e193b796b468c7980531c45fe3d2d03cc702ae6ba4c

      VC15 x86 Non Thread Safe (2020-Feb-18 22:57:13)

      • Zip [23.09MB]
        sha256: 1e890d1020a660a62a376b37aafb7eb213d250c15173f49716c0ed064e694a5f
      • Debug Pack [22.85MB]
        sha256: cf70610bec3f06dc409cfd588e64d4b9c72a119ba0b5ffb1ab0a5e9d5fd11a60
      • Development package (SDK to develop PHP extensions) [1.07MB]
        sha256: c32f2ca9f112c0a6c0e91632fae80edbda93941e6a706dbd77320bccb8d49483

      VC15 x86 Thread Safe (2020-Feb-18 22:57:31)

      • Zip [23.06MB]
        sha256: 27aae4416ed8ed8103ec44e6515de2adba5a014a5223c9ff56211092103d142c
      • Debug Pack [22.51MB]
        sha256: 4e81703ba86e8da850d2048a92497a249ea09f5a87d315d224491078ebab96b5
      • Development package (SDK to develop PHP extensions) [1.07MB]
        sha256: 45809eaa671b410178219fc5fcd8479bbe64d6e6573c476f8fc3cb237616ca65

      PHP 7.3 (7.3.15)

      Download source code [27.03MB]

      Download tests package (phpt) [14.24MB]

      VC15 x64 Non Thread Safe (2020-Feb-18 15:21:02)

      • Zip [24.43MB]
        sha256: a893ff757cbb421801707ed9358a56fbf08b4100567bf0ddf03142e1d27be8f8
      • Debug Pack [23.07MB]
        sha256: a3450effb12c8c85e7c4c8396d5a68a6602e902ece19c19f767fac3c408ecbdd
      • Development package (SDK to develop PHP extensions) [1.25MB]
        sha256: 4a5b0d56b66932ba8abc589777ac193db1b840a14a5324fb142761f36a67cf2e

      VC15 x64 Thread Safe (2020-Feb-18 15:21:11)

      • Zip [24.56MB]
        sha256: feac012bc4c42ef887a611fb69d5718d28b6fc8344f1c94f2ffd1a27bd488f22
      • Debug Pack [23.15MB]
        sha256: e0ec322f95b2e0562675b8b859ac5859a415d2029e294a55ab747fa8786c9f25
      • Development package (SDK to develop PHP extensions) [1.25MB]
        sha256: 6b3f65e3841a00eea85c5e75d90dd93a0b3266f3d178473e84dca0bd692a2695

      VC15 x86 Non Thread Safe (2020-Feb-18 15:21:02)

      • Zip [22.81MB]
        sha256: 947741e4299f9fff02f022087475c27e19f286c4c47c8d749b6d4a0bd7ecd4d5
      • Debug Pack [23.94MB]
        sha256: d79206b182b3385905e3458ef342fb85662699e0fbeccd024a3c61b171375db4
      • Development package (SDK to develop PHP extensions) [1.25MB]
        sha256: 2f1793e4e7c0136ff1652546943832316a4fccc908ba21cb6e098cbe976a89eb

      VC15 x86 Thread Safe (2020-Feb-18 15:21:22)

      • Zip [22.88MB]
        sha256: 857afca6878eedd9ed148806754b44ad733cbb123f07ad3efd0ba2e2fd7e7433
      • Debug Pack [24.03MB]
        sha256: 0c998df4d53b955b1b4589bbbd7a30c846ccdff0f519d007bfbf75bbc0c916ba
      • Development package (SDK to develop PHP extensions) [1.25MB]
        sha256: 10539e7202cfa7c9d499ed8e914b4f923edbf734934e7124a1045e44c96c059b

      PHP 7.2 (7.2.28)

      Download source code [27.23MB]

      Download tests package (phpt) [14.33MB]

      VC15 x64 Non Thread Safe (2020-Feb-18 15:25:06)

      • Zip [24.9MB]
        sha256: 39b409c98fb549ba7d75ada3ce9dcd455c8bd25bbc5ec218153467b48f00dafd
      • Debug Pack [23.16MB]
        sha256: fffc08c5b97f57c7067c24e56f666c3a1cf16fd62170b9ea8920e3f4c88a7f6d
      • Development package (SDK to develop PHP extensions) [1.24MB]
        sha256: 3bd89e8b1d818b5aa1cec2019957582f787ceb3f05508bed6c46597a77d472bd

      VC15 x64 Thread Safe (2020-Feb-18 15:25:16)

      • Zip [25.04MB]
        sha256: 055ff1508f3b4cf0103d63655b73e22cf8f8f57073726a1e2db7296c6ca0408c
      • Debug Pack [23.25MB]
        sha256: 12978a595afd623099ff2e924a638cf381921629feb8f55373989d1fe9567c7b
      • Development package (SDK to develop PHP extensions) [1.24MB]
        sha256: e9fb501212452237fbf82e512d55c72e3e14c5b7b419f383e58dcf1a505a3557

      VC15 x86 Non Thread Safe (2020-Feb-18 15:25:03)

      • Zip [23.27MB]
        sha256: c307427ab43e502d8994fd2b5d171c87b75d092b91a966e80c31932e93f06252
      • Debug Pack [24.06MB]
        sha256: b91cc72df993765d5d957bff9e4f8dae79ce6e0667e5fd993e9e5cec04f7f859
      • Development package (SDK to develop PHP extensions) [1.24MB]
        sha256: c60ee49800d94a6fd9979a6a6bc7e0576ed0c87735c690a5d8de21ba0635fd03

      VC15 x86 Thread Safe (2020-Feb-18 15:25:21)

      • Zip [23.34MB]
        sha256: 9264ade6371c71ede1d9692303bd3e7d99db7298469074b6e49107e5a58b0bd5
      • Debug Pack [24.17MB]
        sha256: 04b89b89a7f9a2f33773d2b02389e561d5f9327f5b10da25d9014ab17a0de5bc
      • Development package (SDK to develop PHP extensions) [1.24MB]
        sha256: 01b6bb49e9c2db0b3c7f78aded40ca2867696035a52e7c7114f6df9db8612e8f

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