Http windows php net downloads

  • 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

    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.

  • PHP 8.2

    8.2 has no release.

    PHP 8.1 (8.1.11)

    Download source code [25.36MB]

    Download tests package (phpt) [15.13MB]

    VS16 x64 Non Thread Safe (2022-Sep-28 11:38:56)

    • Zip [29.25MB]
      sha256: a3904d05700b56186ab9c7f5e472bad9a40ad60cd8ef8fd68be6d55a4a756296
    • Debug Pack [23.84MB]
      sha256: cf2074ccef2ceffaf34940c44610093c499baffaba8e78b36e1d79d97b467b18
    • Development package (SDK to develop PHP extensions) [1.21MB]
      sha256: e92f740408a3a5d90143f4352b05106ee93edfea0d49b59ca8b68342189124f4

    VS16 x64 Thread Safe (2022-Sep-28 11:42:16)

    • Zip [29.35MB]
      sha256: 516cbb223a54b00f3b020fd3c6767e8ac12a7edb773323d3bf0469583027183f
    • Debug Pack [23.84MB]
      sha256: ee7b75e3a6d8a78c0f8d05d6036b5ae41cf831630e2fedf895d191ce9991253d
    • Development package (SDK to develop PHP extensions) [1.21MB]
      sha256: 7930e8e8d37017995ffc3c6fc980bb1555736274643c47cf52bc4c0da2e95c29

    VS16 x86 Non Thread Safe (2022-Sep-28 11:39:16)

    • Zip [26.31MB]
      sha256: 45d2ba8bee148f1eb6d0454def4ed0fb71f4fc694776465406eca2701babd5a2
    • Debug Pack [24.39MB]
      sha256: f4ae8f70c18265c3505f1dee058fceccb9b4f04f5d8f605deaf335ea5b2da7a7
    • Development package (SDK to develop PHP extensions) [1.21MB]
      sha256: e24bdb152ce8d6da6c2ea4bdbabfae525051c386a419468821f1c795f4afe6f1

    VS16 x86 Thread Safe (2022-Sep-28 11:46:36)

    • Zip [26.29MB]
      sha256: 1b6be0d07486835a620ff67842ef130396872b92b577f7a540e312b599781285
    • Debug Pack [24.05MB]
      sha256: 6402cb0e7ae37aec4ae2bfb523231f45dffc7b499bdc8f34fadf75de908ee897
    • Development package (SDK to develop PHP extensions) [1.21MB]
      sha256: 0204c81845b73984e66ab4c72e8a4051e9e9f10782fbf8dd62d764381a27c659

    PHP 8.0 (8.0.24)

    Download source code [23.45MB]

    Download tests package (phpt) [13.54MB]

    VS16 x64 Non Thread Safe (2022-Sep-28 18:07:20)

    • Zip [25.52MB]
      sha256: e060d704a0d3de01c1bd1d98e5440ca89c02315fc39372d079d831002fff36e3
    • Debug Pack [23.21MB]
      sha256: e1dd6d3fdfe87a5819c9fddbbf9d598fbd9c7af6727acf1c3ec391ddd1471c37
    • Development package (SDK to develop PHP extensions) [1.16MB]
      sha256: e494b36c972f1cfb42b3199769f708c868062e79690f609e62ab29e19ec0660e

    VS16 x64 Thread Safe (2022-Sep-28 18:12:28)

    • Zip [25.63MB]
      sha256: 976a825ca08c16700e7fee380fef36b7342b04615d39dd5f6a8f3e671d82c7ce
    • Debug Pack [23.21MB]
      sha256: 6b00e2e7bc1de920e2fca75fb837d2539030696598f4eb5d228714904627d4e0
    • Development package (SDK to develop PHP extensions) [1.16MB]
      sha256: e63dc2c0a381f572551bb55ed7817a4e32ab4c2b2018bc0522edd8a2dcbbc9e9

    VS16 x86 Non Thread Safe (2022-Sep-28 18:18:08)

    • Zip [23.65MB]
      sha256: bdfba738b77409946f10905d579ea9a9d8018df9e36df80334e9f169aebb50a8
    • Debug Pack [23.86MB]
      sha256: b5f42863aedf1a222b58e0f94c278851db521bb5e20892360e90d67295ef03a9
    • Development package (SDK to develop PHP extensions) [1.16MB]
      sha256: fd02baa4ef7cc75515ba1c7327173084546dab74647e3b0db9e1aa9f885f2d6d

    VS16 x86 Thread Safe (2022-Sep-28 18:07:08)

    • Zip [23.64MB]
      sha256: 5e93a2b54d8bf9ace177ae4b0c0349c462c19c80bebd59e24ecb71d27e7a5f72
    • Debug Pack [23.52MB]
      sha256: f31a2edf2cb8571124f60e417b7bcde799748959a779d1844903ab7b832ea989
    • Development package (SDK to develop PHP extensions) [1.16MB]
      sha256: 96897f9d6f1958021a8e0f03e2defe35c628cf715b3f7b85e39af10c4d5c208f

How do I download PHP for Windows?

Step 1: Visit https://www.php.net/ website using any web browser and click on Downloads. Step 2: Click on the Windows “Downloads” button. Step 3: The new webpage has different options, choose the Thread safe version, and click on the zip button and Download it.

Is PHP 7.4 stable?

PHP 7.4 is the latest stable version of PHP.

How can I download old version of PHP?

If you need a rollback of PHP, check out the app's version history on Uptodown. It includes all the file versions available to download off Uptodown for that app. Download rollbacks of PHP for Windows. Any version of PHP distributed on Uptodown is completely virus-free and free to download at no cost.