• 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.0 (7.0.6RC1)

      Download source code [24.18MB]

      VC14 x86 Non Thread Safe (2016-Apr-14 19:29:48)

      • Zip [20.91MB]
        sha1: eeaae90e0b85e459c6542b7e2cf57921bf259bf9
      • Debug Pack [14.59MB]
        sha1: 087b6e872a531574af2e7a2faf05e2ccedb7cb82

      VC14 x86 Thread Safe (2016-Apr-14 20:45:10)

      • Zip [20.99MB]
        sha1: 098817179c9fa18b005a64f4aa8e0a0275c32425
      • Debug Pack [14.71MB]
        sha1: a6a38db98946040a3622bc4732f708e23bc15b35

      VC14 x64 Non Thread Safe (2016-Apr-14 19:28:29)

      • Zip [22.82MB]
        sha1: ac8fac432f1e63d0f2752dfb7b1c39e0a50840f7
      • Debug Pack [14.7MB]
        sha1: cc3048548c8dfc86f5755290b0c58e7e79d57d7f

      VC14 x64 Thread Safe (2016-Apr-14 20:41:34)

      • Zip [22.94MB]
        sha1: 4ac623ad035d8f32535d3c92254f3fec549e3591
      • Debug Pack [14.85MB]
        sha1: 6213cad0a60c92a834409184f24dc09ea2198206

      PHP 5.6 (5.6.21RC1)

      Download source code [24.25MB]

      VC11 x86 Non Thread Safe (2016-Apr-19 22:57:47)

      • Zip [20.29MB]
        sha1: 1a32d33d215775d20edfbcf7eb3bbe3be7f4b197
      • Debug Pack [9.68MB]
        sha1: b2eb4f8a9942ac5183647ae075f81a79d6dacbd0

      VC11 x86 Thread Safe (2016-Apr-19 22:57:48)

      • Zip [20.36MB]
        sha1: ca64249d82fc3c8d011b56a47afccdad3b9d7952
      • Debug Pack [9.86MB]
        sha1: 0085b006083f1dcbafa2dc0ce4b1e544013e49c0

      VC11 x64 Non Thread Safe (2016-Apr-19 22:57:48)

      Note: x64 builds are currently experimental

      • Zip [21.66MB]
        sha1: 7403774a78cc63961addc6ee35cec98630b3732d
      • Debug Pack [9.51MB]
        sha1: 3ddf305638a0378eeb793fb9a234f50ac85d9fdf

      VC11 x64 Thread Safe (2016-Apr-19 22:58:01)

      Note: x64 builds are currently experimental

      • Zip [21.8MB]
        sha1: 33961dbf65f0a180e546688f53690eadb8825710
      • Debug Pack [9.68MB]
        sha1: b6dd3ae96fbba88712049083928374b4b18ec99b

      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

      PHP 5.4

      5.4 has no release.

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

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