• 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, 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.0alpha1)

      Download source code [24.76MB]

      VC14 x86 Non Thread Safe (2016-Jun-08 22:11:41)

      • Zip [20.95MB]
        sha1: 9ab409f5a2e5361528ab2eade60cb9e4cf92bc5d
      • Debug Pack [14.99MB]
        sha1: a33d489887364abd7420ab510f540ccf37c68115

      VC14 x86 Thread Safe (2016-Jun-08 22:11:29)

      • Zip [21.01MB]
        sha1: 626109f728c1073579cb03423767401ffcdd60c0
      • Debug Pack [15.06MB]
        sha1: 5580b109d7a8674099ce99814f5dc172feddcb03

      VC14 x64 Non Thread Safe (2016-Jun-08 22:10:27)

      • Zip [22.85MB]
        sha1: 3efb4e99cb3653ed38e9edda25186253eab8a1f4
      • Debug Pack [14.99MB]
        sha1: d45ab132aecfee8633f9a4410e042da7b6f8565a

      VC14 x64 Thread Safe (2016-Jun-08 22:11:51)

      • Zip [22.96MB]
        sha1: d806d7ec46fe8b63a709856201591cb418fa93f5
      • Debug Pack [15.08MB]
        sha1: 9996af0fc24a145bf12c744c1c48e8ea7d7a4f00

      PHP 7.0 (7.0.8RC1)

      Download source code [24.23MB]

      VC14 x86 Non Thread Safe (2016-Jun-08 01:35:32)

      • Zip [20.94MB]
        sha1: c3028b04316e9f8be6e1773e1ed9687e7e55602f
      • Debug Pack [14.7MB]
        sha1: de83a83ea2089976cc69e3417e2fd41abefed48a

      VC14 x86 Thread Safe (2016-Jun-08 01:34:54)

      • Zip [21.01MB]
        sha1: 74cf065f5599a1ab5fdd3661aaa0ab89ed6f546a
      • Debug Pack [14.81MB]
        sha1: e7f750e7f1a348907080726ae038992e20894831

      VC14 x64 Non Thread Safe (2016-Jun-08 01:34:15)

      • Zip [22.84MB]
        sha1: 27b4c77a26910329399343fa92d35c1a0a7d36dc
      • Debug Pack [14.74MB]
        sha1: c179ab9cd4e78c68add8d63ea0da24818cf185fc

      VC14 x64 Thread Safe (2016-Jun-08 01:35:36)

      • Zip [22.96MB]
        sha1: fc56c4fd132ee5d0ea0b11efdb8a4d9cab0eb8c3
      • Debug Pack [14.86MB]
        sha1: 37edf5166d2a7f5592c39f1b72e242380044a6d3

      PHP 5.6 (5.6.23RC1)

      Download source code [24.26MB]

      VC11 x86 Non Thread Safe (2016-Jun-09 22:08:13)

      • Zip [20.29MB]
        sha1: 7baca585e4ede1cbba7fe266308d717ff7cf8666
      • Debug Pack [9.68MB]
        sha1: 09e64d2286e94c3460aeb748d2b43c24d2d02a56

      VC11 x86 Thread Safe (2016-Jun-09 22:07:50)

      • Zip [20.36MB]
        sha1: 6c0681045c5ca51dc0e822df7e1edce664fd2e4d
      • Debug Pack [9.87MB]
        sha1: 85a51eabf59d954f07b9e75a0a052c7d650f549f

      VC11 x64 Non Thread Safe (2016-Jun-09 22:07:17)

      Note: x64 builds are currently experimental

      • Zip [21.67MB]
        sha1: a14798413b74b2ce4ea1f3ae98c76dec89539d5d
      • Debug Pack [9.52MB]
        sha1: e6106fd4f4f1f5e88d5bb5a6e6d11da4593f93cc

      VC11 x64 Thread Safe (2016-Jun-09 22:08:32)

      Note: x64 builds are currently experimental

      • Zip [21.79MB]
        sha1: a0f443a680a201e77b1c0d3038a9008a53bda366
      • Debug Pack [9.68MB]
        sha1: 81ec0fb7961001e2064e55afa2e6735b9e149726

      PHP 5.5 (5.5.27RC1)

      Download source code [23.32MB]

      VC11 x86 Non Thread Safe (2015-Jun-24 23:05:05)

      • Zip [18.74MB]
        sha1: cb568f6544d47f8ca0f5b2739179128f86a32430
      • Debug Pack [9.24MB]
        sha1: 7b9d438f573b95e8e62da4c6119f1513db032b21

      VC11 x86 Thread Safe (2015-Jun-24 23:05:06)

      • Zip [18.83MB]
        sha1: 7d7757f913f9d37f6031402d8eb2e81ac353b0aa
      • Debug Pack [9.43MB]
        sha1: be59ac438ee6688a806866283569cf607240830b

      VC11 x64 Non Thread Safe (2015-Jun-24 23:05:07)

      Note: x64 builds are currently experimental

      • Zip [20.05MB]
        sha1: 0c5ab8ac93ffca50c40c77afa4d4a4e1b7872493
      • Debug Pack [9.12MB]
        sha1: f1a3902e46d3837ab0564a3527257e73619f31fb

      VC11 x64 Thread Safe (2015-Jun-24 23:05:08)

      Note: x64 builds are currently experimental

      • Zip [20.17MB]
        sha1: 617d76c18d442b692b11ed7d08e701ddd34e3b83
      • Debug Pack [9.29MB]
        sha1: ca95aa46ee91743f26219816c7c270861721893c

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

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