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

      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.0beta1)

      Download source code [23.73MB]

      Download tests package (phpt) [13.05MB]

      VS16 x64 Non Thread Safe (2020-Aug-04 23:02:31)

      • Zip [24.97MB]
        sha256: 4ba72a1a5c482be18ca334ebf66018ddb1ad579a9723ec9cba82171dfc7cfb30
      • Debug Pack [21.64MB]
        sha256: 9117f4899258e17744277fafe5c35c46ef6230e8dc5beffdc59a430245e68faf
      • Development package (SDK to develop PHP extensions) [1.14MB]
        sha256: 188f2c52862ec402ed7931b24d1cca84e4dbaa673ea48e5de2c54dbbc80c3cf7

      VS16 x64 Thread Safe (2020-Aug-04 23:02:32)

      • Zip [25.07MB]
        sha256: 2f965744e559ae195e0a9dc95adbe130391c4d769852e5fd3daa792eb4eb826d
      • Debug Pack [21.63MB]
        sha256: 945e2bcb1140dd011bc495fee012f2834ae1f0409dd06850a5987aaef00c2bff
      • Development package (SDK to develop PHP extensions) [1.15MB]
        sha256: 1faa5f7e5c99ce543d45dae83051fccff2b1963856fa03a820acb59569f11cf7

      VS16 x86 Non Thread Safe (2020-Aug-04 23:03:30)

      • Zip [23.02MB]
        sha256: f7767997da2bb16821e06e0eb099e156a42019c4db63bdd6366313e24d60ae57
      • Debug Pack [21.83MB]
        sha256: fe5e1be5afc17b6817ebf107f82d2cfa93e60b18bc4221cdda11a2e8598906fe
      • Development package (SDK to develop PHP extensions) [1.14MB]
        sha256: 444833c3b65939c7678ee50d81551c44a0aadca54ffaf995164202cd986064c2

      VS16 x86 Thread Safe (2020-Aug-04 23:03:30)

      • Zip [23.1MB]
        sha256: 2e1aeab9f63f82a6d2480c0abffc1befab7a3cbe12cd7732817a3d914296b3f2
      • Debug Pack [21.85MB]
        sha256: d55f0a0cf66ac50eca006a94609612d374800a520040e5bb7ff757959525df9e
      • Development package (SDK to develop PHP extensions) [1.15MB]
        sha256: 236db0ebec5782e447c5e861f2f416cac522b9c110e6fce7fb068f51ae614fdb

      PHP 7.4 (7.4.9RC1)

      Download source code [23.37MB]

      Download tests package (phpt) [13.37MB]

      VC15 x64 Non Thread Safe (2020-Jul-21 14:42:51)

      • Zip [24.83MB]
        sha256: 01242407df650257fcd819df9abdeb883454692b35e8d0b022521cd6ece7faf8
      • Debug Pack [21.97MB]
        sha256: 7fab7d59a1ba0231182535fa7a5123e52d2a5de6ed12d4b380ccb02765a05df5
      • Development package (SDK to develop PHP extensions) [1.08MB]
        sha256: f9d428047859bc82028feef720035a2c5191dd54f59d952d551c46569ea0f6d2

      VC15 x64 Thread Safe (2020-Jul-21 14:43:03)

      • Zip [24.94MB]
        sha256: 23c03ecea08423e43d60afcc92effebe5fe2ac7efa01a0ec4653292e2c3585ea
      • Debug Pack [21.96MB]
        sha256: 54c61755132fd12b55a302c2778318d1c8efad2d1dcb49c8dbaed62f52e9402e
      • Development package (SDK to develop PHP extensions) [1.08MB]
        sha256: 0221f035a5f1e7afbd3a49636278e80a2be478173863c29bff4a209d8b4d6ee4

      VC15 x86 Non Thread Safe (2020-Jul-21 14:42:52)

      • Zip [23.13MB]
        sha256: f0aaeb427f9cd3743df88765eecab8087cb8dd40eb18dddf9c0ca4fc3040a2b6
      • Debug Pack [22.89MB]
        sha256: e56a5d22471d9c2addc74f2295e94e993c5d6da337611c56c80d37c952f03ab0
      • Development package (SDK to develop PHP extensions) [1.08MB]
        sha256: 90093bb069f63d8b56a75e11d843880154e312756aed7d4498be77e069a8d7a6

      VC15 x86 Thread Safe (2020-Jul-21 14:43:10)

      • Zip [23.1MB]
        sha256: 48108a4f1a648692b8a4fb2607387daa2ae3d63d82937e9d51dc13a8cb2343cb
      • Debug Pack [22.57MB]
        sha256: 8c9dc18b4cb69cf11fff7243863a8695aecfa68dcbbf8b7a35c5e289a17a8e8b
      • Development package (SDK to develop PHP extensions) [1.08MB]
        sha256: 35167ae48c9a45f5ef71329c3c29a51a90ede27419b350d2556058dfa8f0c50f

      PHP 7.3 (7.3.21RC1)

      Download source code [27.18MB]

      Download tests package (phpt) [14.27MB]

      VC15 x64 Non Thread Safe (2020-Jul-21 14:36:46)

      • Zip [24.44MB]
        sha256: 044aa69f228587802fdf87d60948138d6e6e70f1c5978db8d6b35943ff044e6f
      • Debug Pack [23.13MB]
        sha256: ccc1091177924af6ba04adf58474738b44e98a403fe81d76d73e1d77d527f3fe
      • Development package (SDK to develop PHP extensions) [1.25MB]
        sha256: c12fb79ac8a02d21db571c6d83d96b31980793766903e4ea32f434a6dcf618a3

      VC15 x64 Thread Safe (2020-Jul-21 14:36:55)

      • Zip [24.57MB]
        sha256: 949b61842984217cd4932429c63d777267ac097c0cf98ed470427a68d33e7223
      • Debug Pack [23.19MB]
        sha256: 75398acffdad764e8e44cd7e8eddfce0bee0ce9dd6261f89f699a5bf52daaea3
      • Development package (SDK to develop PHP extensions) [1.25MB]
        sha256: d44674495e1dae7a559dbbbb17193af394d55ad42ace10889d85259da1b4578a

      VC15 x86 Non Thread Safe (2020-Jul-21 14:36:48)

      • Zip [22.81MB]
        sha256: a8d22fb4013bc65797ab54425fd412f45354749f28b8e383b3a3a00c4b09f0e2
      • Debug Pack [23.96MB]
        sha256: 9920ac62f23bbf52706cb35e3ce385e47067ebb6c9fffd09b45c4aeeb726c4f2
      • Development package (SDK to develop PHP extensions) [1.25MB]
        sha256: ed63b0ab8540d4a9a6628f45ae1dd14d0c2e09eb9029375b62abff9243f0473a

      VC15 x86 Thread Safe (2020-Jul-21 14:37:04)

      • Zip [22.88MB]
        sha256: 9312a15ba0fa4fdf169e61e31402eb7e02d55f47b68d6fcc8df715263723b800
      • Debug Pack [24.07MB]
        sha256: bdcaffd2cca9ebaa2e6691c0151d5e4da4eee8a57ce1bfb23d6d9ce7c30c5c74
      • Development package (SDK to develop PHP extensions) [1.25MB]
        sha256: d1b83140123fe80c07fb2afd7ec9a678286db7d02017ae9497f167d4768d1985

      PHP 7.2

      7.2 has no release.

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