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

      8.3 has no release.

      PHP 8.2 (8.2.11)

      Download source code [26.16MB]

      Download tests package (phpt) [15.61MB]

      VS16 x64 Non Thread Safe (2023-Sep-26 15:55:26)

      • Zip [30.24MB]
        sha256: 2f603db80f0e4ffd0330140d12926a822e47f9825fd0adbb55611857aa1b4109
      • Debug Pack [24.53MB]
        sha256: f0f0e5ea6f498ffd25e0d4a48ade2428dcfdcc184c21f475788b89376a0e247a
      • Development package (SDK to develop PHP extensions) [1.24MB]
        sha256: 7ecbc45a7e648011732579862cf514f5093e8c0ff28a6fb5ddf593a59c2664c3

      VS16 x64 Thread Safe (2023-Sep-26 16:01:20)

      • Zip [30.35MB]
        sha256: a60bf6859edd0e7a08561ba7510c6b8a2e69ca60ba7998dadc66d31c5e99b386
      • Debug Pack [24.54MB]
        sha256: 120d5c0e60355bcae427be471d7f96f249225c5212062d98c7f5ab793000a6b0
      • Development package (SDK to develop PHP extensions) [1.24MB]
        sha256: 2f17d4a84a43eda75b8e4e3253db0402f62e67091e410b8a8e2bdc3e66527aa1

      VS16 x86 Non Thread Safe (2023-Sep-26 16:13:48)

      • Zip [27.14MB]
        sha256: 0361ec9937586f52b045200d16ec809ac2809ffbbb70f90020a71d5595154e92
      • Debug Pack [25.13MB]
        sha256: 22619eee6d51dce42d95db088513041e59ecd1061a0cff0de4f5621d335e0fce
      • Development package (SDK to develop PHP extensions) [1.24MB]
        sha256: 640c8cd78ba711958cdb889ce935c59e67c341f4a50fe22f42f2fd051403023c

      VS16 x86 Thread Safe (2023-Sep-26 15:55:42)

      • Zip [27.12MB]
        sha256: a19013c2725417d8e11f633940bc5101d4a09f36c4f5f2bdca8af06d0559ecdd
      • Debug Pack [24.78MB]
        sha256: 0f0d0f3290a3d17ae21c69479b3f2d3e0f27d51c725966b32ce68a2c4bbd16ed
      • Development package (SDK to develop PHP extensions) [1.24MB]
        sha256: 8531ab5acda1a79ef5beb3df4c3ce69a34c91f430cb11475ce062fa3b31b353e

      PHP 8.1 (8.1.24)

      Download source code [25.61MB]

      Download tests package (phpt) [15.33MB]

      VS16 x64 Non Thread Safe (2023-Sep-27 08:54:10)

      • Zip [29.28MB]
        sha256:
      • Debug Pack [23.88MB]
        sha256:
      • Development package (SDK to develop PHP extensions) [1.21MB]
        sha256:

      VS16 x64 Thread Safe (2023-Sep-27 08:49:16)

      • Zip [29.38MB]
        sha256:
      • Debug Pack [23.89MB]
        sha256:
      • Development package (SDK to develop PHP extensions) [1.21MB]
        sha256:

      VS16 x86 Non Thread Safe (2023-Sep-27 08:44:16)

      • Zip [26.34MB]
        sha256:
      • Debug Pack [24.45MB]
        sha256:
      • Development package (SDK to develop PHP extensions) [1.21MB]
        sha256:

      VS16 x86 Thread Safe (2023-Sep-27 08:43:32)

      • Zip [26.32MB]
        sha256:
      • Debug Pack [24.09MB]
        sha256:
      • Development package (SDK to develop PHP extensions) [1.21MB]
        sha256:

      PHP 8.0 (8.0.30)

      Download source code [23.48MB]

      Download tests package (phpt) [13.56MB]

      VS16 x64 Non Thread Safe (2023-Sep-01 18:07:28)

      • Zip [25.53MB]
        sha256: dfb70498ffa2c617f2f655a155564697e3c9cca41709938fd1a5997d1d5b0785
      • Debug Pack [23.21MB]
        sha256: 6d54cc8d92a65c8a6bdd61591badd6a15c921271245402691591500230416aae
      • Development package (SDK to develop PHP extensions) [1.16MB]
        sha256: 85e9eafbdf7a18acb646eaa0abee33204151297fba95392976f38c49c0a91524

      VS16 x64 Thread Safe (2023-Sep-01 14:57:52)

      • Zip [25.63MB]
        sha256: 8697972b5f704885e3444422ede2b5c25d025f614ea96dc67de74dc582471562
      • Debug Pack [23.23MB]
        sha256: 8d872df1ff623b64b5152451c2e86de58c9aebf2131db7cee6496b1527027e73
      • Development package (SDK to develop PHP extensions) [1.16MB]
        sha256: d15960def77f340b868767840fc5406b5a86822e634df7e96c130f91bc28499a

      VS16 x86 Non Thread Safe (2023-Sep-01 14:38:10)

      • Zip [23.65MB]
        sha256: b649889ac73add91c02ec7f6fdb9182f148cfa3181761e32a1be02a3b1d85100
      • Debug Pack [23.86MB]
        sha256: bdc62ed306636b42857a2c6fb9685663a389b0a83c88a1cf6c19b201444ff19b
      • Development package (SDK to develop PHP extensions) [1.16MB]
        sha256: a7dba1b187b06371a1f6e4f2eeddf6c938c286ce6eb70ee52393eadb2d8c9277

      VS16 x86 Thread Safe (2023-Sep-01 14:36:42)

      • Zip [23.64MB]
        sha256: 8dec05f39e6618ee20e252b180d69f8cd0162a3dd2545321593d8f4f44f4af52
      • Debug Pack [23.52MB]
        sha256: 3de68c50c6dc674993860cd6a05f56b20e0c11e909af5c71ffcb9f48010a120b
      • Development package (SDK to develop PHP extensions) [1.16MB]
        sha256: d84e35170de73cf5e0240b81fb38bb1af461b508e7f1ec0aec4686351249b672

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