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


      Archives

      Past releases are available from our archives, older versions not found there can be found at the Museum.

    • Binaries and sources Releases

      PHP 7.1 (7.1.3)

      Download source code [26.2MB]

      VC14 x86 Non Thread Safe (2017-Mar-16 00:40:11)

      • Zip [21.26MB]
        sha256: 0337d2445b22f423185aeeebe0e03e4a800983a7f572c2ec35e98e8cb1aa345f
      • Debug Pack [20.66MB]
        sha256: a4e5f9135b2cf5ff4713b8bb767f793b47fb99640ce78276c37a76a17e17085c

      VC14 x86 Thread Safe (2017-Mar-16 00:40:42)

      • Zip [21.3MB]
        sha256: ef8c8ce2b6fadbe7dd11d3ce8c5d1bef330eca4b5b0203c395690ac636603192
      • Debug Pack [20.69MB]
        sha256: 3b01a400b63fa52f6211ca15e0b756584e86f141216d52aeebcdcd0c175e633f

      VC14 x64 Non Thread Safe (2017-Mar-16 00:40:12)

      • Zip [23.22MB]
        sha256: 45c75ab77d8fe33fdf2f30b8fbcb4696645c2547a577730c0cab3718fd3ac8e3
      • Debug Pack [20.76MB]
        sha256: 20313786763e2db7cd54c0f5c5657e7e3554f8aeaf0cd87c6d1a4c23e5b508a5

      VC14 x64 Thread Safe (2017-Mar-16 00:40:27)

      • Zip [23.3MB]
        sha256: d3cc4957ce73c9957dd0389f9276e7384514fbac8fdb66d08f93dc0ad1c7eeaf
      • Debug Pack [20.81MB]
        sha256: 30fc998e55d2bf7bfa9174a79fb9fe9a96008d75a32a97004b30e14f048bf6c2

      PHP 7.0 (7.0.17)

      Download source code [25.54MB]

      VC14 x86 Non Thread Safe (2017-Mar-16 00:33:22)

      • Zip [21.11MB]
        sha256: d5f559fe2143b408ccb743dbd7af4406ebe4cdd7c2bec5f417a48dd89aa331b0
      • Debug Pack [20.14MB]
        sha256: 2d8dd60183594838e410fb21dbc8a341592dccaa87350a9b56856260f40a7d63

      VC14 x86 Thread Safe (2017-Mar-16 00:33:23)

      • Zip [21.18MB]
        sha256: d6c4852a0cf0436ebf62d0f50eaaca9d339db9159c3b9b9dc29f2704a48ae0f6
      • Debug Pack [20.25MB]
        sha256: c2c514c3690bce7cd93ae83ebc93ab455929e5b64103bbd3bcac8096adafce93

      VC14 x64 Non Thread Safe (2017-Mar-16 00:33:21)

      • Zip [23.05MB]
        sha256: 884ee0d3518cc763a72f3ba502afccb37fe8467de22ed4c6bad1efe004c3584c
      • Debug Pack [20.22MB]
        sha256: dda9d6c8d1e5d9fecc6b8fbd474397e7d82466eb7a58fa49a90e9cd57763deeb

      VC14 x64 Thread Safe (2017-Mar-16 00:33:21)

      • Zip [23.16MB]
        sha256: a7e3f3cdcc36675b197f269732b7ca28c633b9b1481f3bb037705ec75c8dcf74
      • Debug Pack [20.32MB]
        sha256: 4b27752eb30fbddbd2032d519d7a03806003bcef057ccbc40bef45953d6fc5ea

      PHP 5.6 (5.6.30)

      Download source code [25.03MB]

      VC11 x86 Non Thread Safe (2017-Jan-19 07:07:55)

      • Zip [20.36MB]
        sha256: 17c22fd4031e28244e43daeab83aa2c38dc1c83ad63da14bcfbb9fdc490816a9
      • Debug Pack [9.7MB]
        sha256: aa0439efea643012eb90139415e8cfe6a5a7e965c509193ac34c75749ffa5207

      VC11 x86 Thread Safe (2017-Jan-19 07:07:55)

      • Zip [20.46MB]
        sha256: b2d11e8b4b84693a56c38221381314a62d730dcfed0c57c68ac25cfecbca69d7
      • Debug Pack [9.89MB]
        sha256: 23328dec05070d02d42a355b4053c750c1f053832492469fb2553045548bf201

      VC11 x64 Non Thread Safe (2017-Jan-19 07:07:54)

      Note: x64 builds are currently experimental

      • Zip [21.93MB]
        sha256: 19e6979922b642344131582d83d331348eb8ba1a44c723ef3b2cd9aee36e0c29
      • Debug Pack [9.53MB]
        sha256: ce82933e094e08d5969b1aed4d5682de0f175e109f3059b3cd13226466ec575c

      VC11 x64 Thread Safe (2017-Jan-19 07:07:56)

      Note: x64 builds are currently experimental

      • Zip [22.06MB]
        sha256: 7862fb463936a58d2941359a2e4e6ba6c763518b120ef84b7bea2a88b0490e2e
      • Debug Pack [9.69MB]
        sha256: 4c7da29f78cc3535cf1e742d09ff1a5fc1768f5a145e98107605e7e7c5b194d6

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

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