• 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 VC9, VC11 and VC14 builds of Apache for x86 and x64. We use their binaries to build the Apache SAPIs.

      If you are using PHP as module with Apache builds from apache.org (not recommended) you need to use the older VC6 versions of PHP compiled with the legacy Visual Studio 6 compiler. Do NOT use VC9+ versions of PHP with the apache.org binaries.

      With Apache you have to use the Thread Safe (TS) versions of PHP.

      VC9, VC11 & VC14

      More recent versions of PHP are built with VC9, VC11 or VC14 (Visual Studio 2008, 2012 or 2015 compiler respectively) and include improvements in performance and stability.

      - The VC9 builds require you to have the Visual C++ Redistributable for Visual Studio 2008 SP1 x86 or x64 installed

      - The VC11 builds require to have the Visual C++ Redistributable for Visual Studio 2012 x86 or x64 installed

      - The VC14 builds require to have the Visual C++ Redistributable for Visual Studio 2015 x86 or x64 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)

      x86_64 Builds

      The x64 builds of PHP 5 for Windows are experimental, and do not provide 64-bit integer or large file support.

      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.


      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 7.1 (7.1.1RC1)

      Download source code [26.26MB]

      VC14 x86 Non Thread Safe (2017-Jan-05 22:57:19)

      • Zip [21.25MB]
        sha1: 9a0bb99057359f77403fe0f9f86e5576368ca92e
      • Debug Pack [20.64MB]
        sha1: 25716b3a37a218e1ffcf34ea7d4c4cd741954ce5

      VC14 x86 Thread Safe (2017-Jan-05 22:57:49)

      • Zip [21.29MB]
        sha1: 76596b618aa150feed46201a549e40b11038221e
      • Debug Pack [20.68MB]
        sha1: e938ebb4f92d2ff01ded2f3f454dba03bc8dcff1

      VC14 x64 Non Thread Safe (2017-Jan-05 22:57:19)

      • Zip [23.21MB]
        sha1: 04aa9ad0001252438781b6d88843e55c3e84bc9d
      • Debug Pack [20.75MB]
        sha1: 38a6ee5cb4ac433d143ebb6f7e8abdd4134c6aee

      VC14 x64 Thread Safe (2017-Jan-05 22:57:35)

      • Zip [23.28MB]
        sha1: f76dc7a7ac4fe7286a11cd883224e597c6cfb83b
      • Debug Pack [20.76MB]
        sha1: 6ee86a666586edb67c643664cfabd18140f16d59

      PHP 7.0 (7.0.15RC1)

      Download source code [25.61MB]

      VC14 x86 Non Thread Safe (2017-Jan-06 00:12:50)

      • Zip [21.11MB]
        sha1: e75b83e2eff033911bb8aa52e289cab078ca0ee4
      • Debug Pack [20.12MB]
        sha1: fcddd89ee43ec292ce22ab38a225df70ac1c4a13

      VC14 x86 Thread Safe (2017-Jan-06 00:12:50)

      • Zip [21.17MB]
        sha1: 68441d0554f64750deba33f6d0759e95a181c417
      • Debug Pack [20.22MB]
        sha1: 836d4dbe92d90725af7eff87a1167ee378f97506

      VC14 x64 Non Thread Safe (2017-Jan-06 00:12:49)

      • Zip [23.05MB]
        sha1: 073d7b4aa5d185ad2e3fb43c706ba2c70d3be5fc
      • Debug Pack [20.21MB]
        sha1: 9166d9e59a1b6ed3ef0f0b8d96d01ecaf6049e93

      VC14 x64 Thread Safe (2017-Jan-06 00:13:09)

      • Zip [23.15MB]
        sha1: 199d45d4f60e47895d20369806fad4b0d2f1838b
      • Debug Pack [20.3MB]
        sha1: e259fbe42a9030f2e7c07d27321434f2488a95b9

      PHP 5.6 (5.6.30RC1)

      Download source code [25.13MB]

      VC11 x86 Non Thread Safe (2017-Jan-06 05:06:49)

      • Zip [20.36MB]
        sha1: 79d87991f28165d55d9d82c8aaf808349bd0be15
      • Debug Pack [9.7MB]
        sha1: 5d4e2b1128372585e99537f19e2b21536aa6d1d6

      VC11 x86 Thread Safe (2017-Jan-06 05:06:56)

      • Zip [20.45MB]
        sha1: be7135cf283a7c5a588377acba6dea2049db731d
      • Debug Pack [9.89MB]
        sha1: 2d98cac8fa2e3c23b5159a45377210ca3dd776b2

      VC11 x64 Non Thread Safe (2017-Jan-06 05:06:48)

      Note: x64 builds are currently experimental

      • Zip [21.92MB]
        sha1: 6f0dd59e904654fda3c67320e2c2beeeed4876ab
      • Debug Pack [9.52MB]
        sha1: 2606bbc5ab7dbdfdbee12ba5702b323377d1e29e

      VC11 x64 Thread Safe (2017-Jan-06 05:06:50)

      Note: x64 builds are currently experimental

      • Zip [22.05MB]
        sha1: 5dd0b98818be81247b16124d4117484bc13e2ebc
      • Debug Pack [9.69MB]
        sha1: dad41d2b0c6a2c84cb8facc6647d73f9ba1f5706

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

    Last updated: Mon Sept 1 12:03:37 2008 EDT