• PHP: Hypertext Preprocessor

    • Home
    • Downloads
    • QA Releases
    • Snapshots
    • Team
    • PHP.net site
  • Are you seeing a warning from Windows Defender? Check out this info.

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


      QA binaries are NOT intended for production use; please use the binaries at PHP Windows downloads.

      Archives

      Past releases are available from our archives, older versions not found there can be found at the Museum.

    • Binaries and sources QA Releases

      PHP 8.0 (8.0.1RC1)

      Download source code [24.05MB]

      Download tests package (phpt) [13.28MB]

      VS16 x64 Non Thread Safe (2020-Dec-15 23:52:32)

      • Zip [25.32MB]
        sha256: 0b5f6ac35e63a35aba4df3ca1bea84a53c5b89cc6fc783fd1447dbac0ea6b082
      • Debug Pack [24.36MB]
        sha256: d71b4b642937ca178361167a3c00be3e0a37dc7cfd898dfb4b68a0f168f428eb
      • Development package (SDK to develop PHP extensions) [1.16MB]
        sha256: 46ed570188c7f6ae9bd747cce972e311bd20bf994120fc8dac3f9a9af6e3aadd

      VS16 x64 Thread Safe (2020-Dec-15 23:58:16)

      • Zip [25.43MB]
        sha256: 9802538d10fb342232d19662ff992727615a66deb3845091c43f1083ce4d5ee0
      • Debug Pack [24.16MB]
        sha256: 2356f5538870b63cab1c027f21d649f8927ca7daaf4084b305119590f4ccaeda
      • Development package (SDK to develop PHP extensions) [1.16MB]
        sha256: 9da40fe8329c06cea5cd22a1f7624a9f683e1958e57069411758864b017e7f83

      VS16 x86 Non Thread Safe (2020-Dec-15 23:54:01)

      • Zip [23.36MB]
        sha256: a0ab3d240f6ab62c5f224578d67f8e0382485c4f1f3c3fc343d52199a4dec8f5
      • Debug Pack [24.24MB]
        sha256: 5242bf8f6d166bc8e205a9e38696bd7acd39bb4d0641711cd55c6ec9b5965a68
      • Development package (SDK to develop PHP extensions) [1.16MB]
        sha256: c82697dff3827c372cf20e0856b988a80ceef8e67112746584562f46e58272d9

      VS16 x86 Thread Safe (2020-Dec-15 23:55:24)

      • Zip [23.42MB]
        sha256: d386471d1f389d2d456bb27339f809294f629b862a0895ea1b617cc10f6a0a4a
      • Debug Pack [24.39MB]
        sha256: bf647eeaecd3562376c3c978c7c5ba8858f6efcbc6472da6d1381813561223bf
      • Development package (SDK to develop PHP extensions) [1.16MB]
        sha256: 07b75e9b50567ce57ea1dba278367d3b5a8d143ae1bc6f436ac26c6fccbdc481

      PHP 7.4 (7.4.14RC1)

      Download source code [23.5MB]

      Download tests package (phpt) [13.44MB]

      VC15 x64 Non Thread Safe (2020-Dec-15 21:22:59)

      • Zip [24.85MB]
        sha256: fa77ab1611d009ca6c8456d767d7cf88217cb37bf918e1f58920ca58a16a14ee
      • Debug Pack [22MB]
        sha256: 8e3349b3737d26842003402c7db5587b1a474972cf62c04dece08d599bd291c2
      • Development package (SDK to develop PHP extensions) [1.08MB]
        sha256: 3b148e55929895269464f697c61e079f9d541c7258a45f3b4d5e05bafc63fd1b

      VC15 x64 Thread Safe (2020-Dec-15 21:23:10)

      • Zip [24.95MB]
        sha256: 15e4f00af9e8fb99e8ceb83af94f0e1b2c7b44148241a0fd074c6e7df3f65cd5
      • Debug Pack [21.98MB]
        sha256: 95d707fd7b9d3b87b1f33ee0681e00c5c90c9cb607979c38201f654dfb728a20
      • Development package (SDK to develop PHP extensions) [1.09MB]
        sha256: 0268c3d80630b1914f29a55e3c84b083a8e64d5e1f075d923bcd805d1935fde8

      VC15 x86 Non Thread Safe (2020-Dec-15 21:23:01)

      • Zip [23.14MB]
        sha256: e406474967fe3d48d3265dffa8b87703af624514218e2afe4149984fdf4c36f4
      • Debug Pack [22.91MB]
        sha256: c8fafd88b560ed3961e6ad039332096873ee9d98afd44ccbe6576257009326d9
      • Development package (SDK to develop PHP extensions) [1.09MB]
        sha256: a7e90fc08a4e0d45f522ce9afcdf8523e6d8c6f4c92679f46cd3e7874281d70c

      VC15 x86 Thread Safe (2020-Dec-15 21:23:17)

      • Zip [23.12MB]
        sha256: 367bb9efeb6efd396fdbdf2ebc17a9db8f2d3ef48cc5655fdfc2cd40bbf70270
      • Debug Pack [22.6MB]
        sha256: bb97d36c7b8b5e63ab5d021cf33f93e065e5288201f5625e59b234fa55f0e2e4
      • Development package (SDK to develop PHP extensions) [1.09MB]
        sha256: a705c3b3f80574808d6cab55eb85640b3d53b8184dfc003ca6c0bf646c6d3a3f

      PHP 7.3 (7.3.26RC1)

      Download source code [27.22MB]

      Download tests package (phpt) [14.31MB]

      VC15 x64 Non Thread Safe (2020-Dec-15 15:53:08)

      • Zip [24.45MB]
        sha256: b30a0816d28d5f5948b52d470e732ea1adef2485dd9daa39f8932f5e7cc53257
      • Debug Pack [23.11MB]
        sha256: f8378f3a06e27a74014a2f4875b1d718f4633b5a183cd3223f94018bed2f591d
      • Development package (SDK to develop PHP extensions) [1.25MB]
        sha256: 29616553992b48f1a4d0872a5261ae36d4e6a2f1aeb67008852180f6d4c11db4

      VC15 x64 Thread Safe (2020-Dec-15 15:53:20)

      • Zip [24.57MB]
        sha256: e712d9777f730fa1df40fc275657d3d1ab6749d2b84e82c76d86884ea7626c43
      • Debug Pack [23.19MB]
        sha256: 401634a007b569796dcce328391012452c11434d8c854461d1133d2a662969c7
      • Development package (SDK to develop PHP extensions) [1.25MB]
        sha256: a2fd187bd5994d75721904f17840cc34383e23cd41e23472b75ed32b6bae47d5

      VC15 x86 Non Thread Safe (2020-Dec-15 15:53:10)

      • Zip [22.82MB]
        sha256: df464ab329ea8beb6f212758c2419b352a72442949cee8cbd0408beedc971558
      • Debug Pack [23.96MB]
        sha256: 335af5d3c0cee13a4ff4c9c31581b918ef84fd4ae03ab060480ee9a7cc8a8723
      • Development package (SDK to develop PHP extensions) [1.25MB]
        sha256: 0c26f97f5f4c3c9c3be3955956bcd3b606f57918deafd2dc234caf6b12899b67

      VC15 x86 Thread Safe (2020-Dec-15 15:53:26)

      • Zip [22.88MB]
        sha256: d117da215904054a6c18ba46dd467602ac6d925f0ea01462951c5db02fd8b18d
      • Debug Pack [24.04MB]
        sha256: 13144cd727fd4cf055db0b8d1c3a54aa4ffead8e4489d32c15f58a9d1ecd2e63
      • Development package (SDK to develop PHP extensions) [1.25MB]
        sha256: dfbd48992b72e49cf52c20b209c66d9f3fecbf43fad608a96df2063f55882df2

      PHP 7.2

      7.2 has no release.

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