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


      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 has no release.

      PHP 7.0 (7.0.13)

      Download source code [25.41MB]

      VC14 x86 Non Thread Safe (2016-Nov-09 04:00:59)

      • Zip [20.97MB]
        sha1: ed870bfccce822ac19e1688f974e8a227ebb9b35
      • Debug Pack [14.93MB]
        sha1: 31cf1e231d9fa89af0588795615de6ddd841ab59

      VC14 x86 Thread Safe (2016-Nov-09 04:00:59)

      • Zip [21.04MB]
        sha1: ad33207f77032e506b4474530346696198b12c32
      • Debug Pack [15.06MB]
        sha1: 143fd7e06dd353db4f0dce95ef7a9bc4fd264d28

      VC14 x64 Non Thread Safe (2016-Nov-09 04:00:52)

      • Zip [22.87MB]
        sha1: b8e8061e96c0a5febb7e3430d5f8b5b6ef364a4c
      • Debug Pack [14.97MB]
        sha1: 761f5594c06aaa813c8d5f6063a65fff5c85b02b

      VC14 x64 Thread Safe (2016-Nov-09 04:00:53)

      • Zip [22.98MB]
        sha1: 2d883e8a996081974faac7bb5f911463d482a996
      • Debug Pack [15.05MB]
        sha1: 66f73dce28c5b999d3f0bf64d8aff348a4002b08

      PHP 5.6 (5.6.28)

      Download source code [25.01MB]

      VC11 x86 Non Thread Safe (2016-Nov-09 18:10:03)

      • Zip [20.36MB]
        sha1: 58ce9419dd13a81146240ac8cf94f6a37b704d72
      • Debug Pack [9.7MB]
        sha1: 0077da2ac7c63fef31deb97574ab9cd379070bc2

      VC11 x86 Thread Safe (2016-Nov-09 18:10:07)

      • Zip [20.46MB]
        sha1: 3ad3fffe5a20ae83733622c8311f35044e2346f1
      • Debug Pack [9.89MB]
        sha1: b0d65417a0e5ef51ecb4137e2fe55132c964ded0

      VC11 x64 Non Thread Safe (2016-Nov-09 18:10:02)

      Note: x64 builds are currently experimental

      • Zip [21.92MB]
        sha1: fe4ba4728d45aa495f07aaea4bc53a6fd2f57c35
      • Debug Pack [9.52MB]
        sha1: 17c2280dbde8df02c1844ad6df1c3497e8518ebf

      VC11 x64 Thread Safe (2016-Nov-09 18:10:04)

      Note: x64 builds are currently experimental

      • Zip [22.06MB]
        sha1: 7e469daf2c64f3bbcad59b9b2e8c139c498e1f72
      • Debug Pack [9.69MB]
        sha1: c221e565c2d71e057bba462fc454cc0486777ee7

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

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