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

      x64 builds are recommended (almost all Windows installations support x64).

      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 8.0 (8.0.3)

      Download source code [23.97MB]

      Download tests package (phpt) [13.3MB]

      VS16 x64 Non Thread Safe (2021-Mar-03 00:15:26)

      • Zip [25.33MB]
        sha256: be8d29c31d719dafd2730a63610a5b385ad6cc122160f585eb266713f0a5d018
      • Debug Pack [24.49MB]
        sha256: 58cc855f6e1447d15967ef04eb82d830b2178f3ef0dae83241b3af902f1d09b0
      • Development package (SDK to develop PHP extensions) [1.16MB]
        sha256: b01c0bf9b7306c9f244af2358a3f389a0c321427c4f3cd2a169932533f0ed874

      VS16 x64 Thread Safe (2021-Mar-03 00:21:37)

      • Zip [25.44MB]
        sha256: 04fe4347cbf143f9ae2ede48e3b804b13b713751da6a9d1edd53c45a2de103fd
      • Debug Pack [24.31MB]
        sha256: 598868249ceca85d9fe999db13fcc98cfc57a7240eaa4d61d612b87e94c225ca
      • Development package (SDK to develop PHP extensions) [1.16MB]
        sha256: 3a21287369f1aabf9653e6ebff71dd7800dd2f257fa87f4091902129a20bebf2

      VS16 x86 Non Thread Safe (2021-Mar-03 00:17:29)

      • Zip [23.36MB]
        sha256: f66ba2b11a7f86f03c5eb4ff31504aa72722bf7cf7449b4d3e521caf373edc28
      • Debug Pack [24.26MB]
        sha256: ec4e9dfabaaf33599545a277b1114b09d4291bedddd823854ba94d31897c867d
      • Development package (SDK to develop PHP extensions) [1.16MB]
        sha256: 4247f1131c1eddc57866dfd85e27f634274c307671073be14a13d278d1cf7a02

      VS16 x86 Thread Safe (2021-Mar-03 00:18:18)

      • Zip [23.42MB]
        sha256: 5d80958e758cedd112a015413e1509c08f3e49d145e0cfd4c03fb80fdba563dc
      • Debug Pack [24.32MB]
        sha256: b468815c9b5ee0ef1f78f4f4c37a8b049007ba7b8b800cbe094c0803ca013594
      • Development package (SDK to develop PHP extensions) [1.16MB]
        sha256: 35021eb5f00acd30c716f0d8ba4ac9926998902592922a1e9cbedad58643cd59

      PHP 7.4 (7.4.16)

      Download source code [23.41MB]

      Download tests package (phpt) [13.45MB]

      VC15 x64 Non Thread Safe (2021-Mar-02 17:13:45)

      • Zip [24.85MB]
        sha256: 8ef88f578bf73db94a1a8983ed69780de23f7a66c1aedc7b8df66d48e72a4fe2
      • Debug Pack [21.98MB]
        sha256: fb2b40c6e95d464f0734888788bf2437b318449c55e5fe2cf9c5ad4a132167ba
      • Development package (SDK to develop PHP extensions) [1.08MB]
        sha256: 8cb3b0a55f3c2dcc91f261aeeb4e4d2cc01bd61e110789b163b116ff3590ee6f

      VC15 x64 Thread Safe (2021-Mar-02 17:13:59)

      • Zip [24.95MB]
        sha256: a1ba91f0fb941485e8458a1bd81e1891aef44f9722ecea1ed3c972a322a16725
      • Debug Pack [21.97MB]
        sha256: 9ba617a1757553b607746a1c609e0812e30697adc302fa722efb77812ef4ee69
      • Development package (SDK to develop PHP extensions) [1.08MB]
        sha256: 1da79bfc4d67b56c871ffc08d601151045cd41f5ff020757a3ac47a308cca5c5

      VC15 x86 Non Thread Safe (2021-Mar-02 17:13:48)

      • Zip [23.14MB]
        sha256: f25c2372ac4c156814ba2cbc52e7310dc80c5a36dedb659c754c890167fb13c9
      • Debug Pack [22.89MB]
        sha256: cd704355303663f35338422374a1c8ffc033630d4b9678cf52af6c8f3fd98d53
      • Development package (SDK to develop PHP extensions) [1.08MB]
        sha256: 337a247133a27347d35812bdb9901637244dad8b7352c2b37eb204f9f0aca879

      VC15 x86 Thread Safe (2021-Mar-02 17:14:06)

      • Zip [23.12MB]
        sha256: f2f4a182f2c23aa04ce4d20ca082adad9df6a389e820af4d35b4b6763683c1bd
      • Debug Pack [22.56MB]
        sha256: 74e7d1fd924e18310e2c9e05afb84b4af454e471fcbdda56fca2cd183dd99156
      • Development package (SDK to develop PHP extensions) [1.08MB]
        sha256: 1d72520010c0791c005e98e30d31ccef6fa9eed07e4a117ff88b1e0f01b37ac2

      PHP 7.3 (7.3.27)

      Download source code [27.11MB]

      Download tests package (phpt) [14.31MB]

      VC15 x64 Non Thread Safe (2021-Feb-02 22:58:49)

      • Zip [24.44MB]
        sha256: 1356f9df18713722d02487d5851183246db55e648e545c9f4055ff48f90bfadf
      • Debug Pack [23.08MB]
        sha256: fa5b58dccdbfd9639e2e2acfcd2e5a656eca4d5df3e03a1fc99b6f19acd910d2
      • Development package (SDK to develop PHP extensions) [1.25MB]
        sha256: 0591f4abcdc774bafb2212736e7dc01aabbc6b23eb6fafcacf43f0fa1cdab5cf

      VC15 x64 Thread Safe (2021-Feb-02 22:59:04)

      • Zip [24.56MB]
        sha256: f53b71c3edf9e3b79ecb7e9750b46f275e4335b27576607d3b47062aee7c25f8
      • Debug Pack [23.16MB]
        sha256: d12192254175cf6dad0495b238b06af9093c24afeed0e557a96583220eba1aca
      • Development package (SDK to develop PHP extensions) [1.25MB]
        sha256: 9d6d99c09147d2ac1d600fc84afad02f0687bddbfcd64f5e1b100bdbb14bc622

      VC15 x86 Non Thread Safe (2021-Feb-02 22:58:52)

      • Zip [22.81MB]
        sha256: 73545c9b6768f8c337ec358e6f1806ecdfdce47e76c293639a55028749404ad6
      • Debug Pack [23.93MB]
        sha256: 10aa2c1b25e0c94106af28a87cb27bab7ad04ef63c8ff349884155829348282c
      • Development package (SDK to develop PHP extensions) [1.25MB]
        sha256: 4cb062c73e16af89044117d7db3f602824946e95ca56e3176d9da3c207b5cd48

      VC15 x86 Thread Safe (2021-Feb-02 22:59:10)

      • Zip [22.87MB]
        sha256: 7f977b7dd5a76984578394b1612138d11de0bb8833617c942685fa9ee71173dc
      • Debug Pack [24.02MB]
        sha256: 90a62ff2e0ef93e0ea6f1b5b39ea53aa74723ae410cd98b24978d1181bee6268
      • Development package (SDK to develop PHP extensions) [1.25MB]
        sha256: f3bb3f78e5af5c783a51f6ef81d4fa2f22475e84f7ecf314b55faee48bdef39e

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