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

      Download source code [24.97MB]

      VC14 x86 Non Thread Safe (2016-Sep-14 02:01:41)

      • Zip [20.95MB]
        sha1: 0b55b09e4bc7c917e4c8decd6c3526bd898483b2
      • Debug Pack [14.69MB]
        sha1: 25e1e83d6f1476670f1205434bfe23a6c85412bc

      VC14 x86 Thread Safe (2016-Sep-14 02:01:10)

      • Zip [21.02MB]
        sha1: 6267367f2150a61ccbeaf102ee453bf659706899
      • Debug Pack [14.81MB]
        sha1: dd71029e7a4c23e1daaf3b23de0fc12dae4b8892

      VC14 x64 Non Thread Safe (2016-Sep-14 02:01:04)

      • Zip [22.86MB]
        sha1: cd99b28cef84e0e5af6263d023c0d2d8aa37592f
      • Debug Pack [14.73MB]
        sha1: 4979c543b1ca39b02abadafd2f3a38adab1bb2d0

      VC14 x64 Thread Safe (2016-Sep-14 02:01:42)

      • Zip [22.96MB]
        sha1: 8e7e991326204324a35645306f74ad4f7a49a0eb
      • Debug Pack [14.81MB]
        sha1: 1b34a817d0e9772fe5a29ea3433b94236e5eccc7

      PHP 5.6 (5.6.26)

      Download source code [24.96MB]

      VC11 x86 Non Thread Safe (2016-Sep-16 07:19:29)

      • Zip [20.32MB]
        sha1: ce1279f01387a506ce46ab26eccfb426b4f6536a
      • Debug Pack [9.7MB]
        sha1: 7297bad214c46f5127af52278417d597b679c99b

      VC11 x86 Thread Safe (2016-Sep-16 07:20:14)

      • Zip [20.38MB]
        sha1: 2b70e4e09be05370f58cd1041eabf21c3b08c273
      • Debug Pack [9.88MB]
        sha1: f4f051ddeffbe0a11d081b5ccb5297d4c0f931e9

      VC11 x64 Non Thread Safe (2016-Sep-16 07:19:28)

      Note: x64 builds are currently experimental

      • Zip [21.7MB]
        sha1: 9ca838562b019f6beca9bb4be2d281d58e6d34d5
      • Debug Pack [9.53MB]
        sha1: e3024645dcb306595c4a76b8b734f7e72b363982

      VC11 x64 Thread Safe (2016-Sep-16 07:20:00)

      Note: x64 builds are currently experimental

      • Zip [21.83MB]
        sha1: f2037fd8cb9225521a561d28e071161402a72d3d
      • Debug Pack [9.7MB]
        sha1: a69dc32bd17b7c576cbc3a75be9779e0fc97469f

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

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