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

      Download source code [25.38MB]

      VC14 x86 Non Thread Safe (2016-Oct-13 21:05:28)

      • Zip [20.96MB]
        sha1: 99c38a95b84914fba450daad95086928570ea5d8
      • Debug Pack [14.92MB]
        sha1: 1a0e6761ae0b4a3bb40e205cb70d931460c33f91

      VC14 x86 Thread Safe (2016-Oct-13 21:05:29)

      • Zip [21.03MB]
        sha1: 9e4213b64b60be99692317b9b156929881698335
      • Debug Pack [15.04MB]
        sha1: 1bbd355e8a5a509757f0e659d7bd8a2f5be63c82

      VC14 x64 Non Thread Safe (2016-Oct-13 21:05:24)

      • Zip [22.87MB]
        sha1: 8eaaf9703b4e0139e3b786cba20396a11fb0ff9d
      • Debug Pack [14.96MB]
        sha1: 3dd8c4296b2f7cf7cb0033931a2e25c97ce70a19

      VC14 x64 Thread Safe (2016-Oct-13 21:05:31)

      • Zip [22.97MB]
        sha1: 8ccc6b638ce88f1461bb9a39f6784ed92419163d
      • Debug Pack [15.04MB]
        sha1: 0910a4c56ba49fd18f74003548ebec146b3547ff

      PHP 5.6 (5.6.27)

      Download source code [25MB]

      VC11 x86 Non Thread Safe (2016-Oct-14 20:34:04)

      • Zip [20.36MB]
        sha1: 91d29f29252858575233eb982a936083e60af953
      • Debug Pack [9.71MB]
        sha1: 1a3d1aa902de486fcb2e89f47f2520a9ff19b824

      VC11 x86 Thread Safe (2016-Oct-14 20:34:04)

      • Zip [20.43MB]
        sha1: e871659022b67d957dc6455f08e52bc3fd8bdc76
      • Debug Pack [9.89MB]
        sha1: f83aaca9226bac8a46447a96cce26742e7d34d59

      VC11 x64 Non Thread Safe (2016-Oct-14 20:34:03)

      Note: x64 builds are currently experimental

      • Zip [21.92MB]
        sha1: db0094348712370e2601e4b199a885314d612956
      • Debug Pack [9.53MB]
        sha1: 20ab2756e581ca7498a01b0ce7e9fe661cc8a519

      VC11 x64 Thread Safe (2016-Oct-14 20:34:09)

      Note: x64 builds are currently experimental

      • Zip [22.04MB]
        sha1: 817ecb941e6c7e6f5bf48591fefb3de66320e057
      • Debug Pack [9.69MB]
        sha1: 31d1ec5cee524cf027915187e3b05e520c8686b8

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

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