• 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 VC11, VC14 and VC15 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 VC11+ versions of PHP with the apache.org binaries.

      With Apache you have to use the Thread Safe (TS) versions of PHP.

      VC11, VC14 & VC15

      More recent versions of PHP are built with VC11, VC14 or VC15 (Visual Studio 2012, 2015 or 2017 compiler respectively) and include improvements in performance and stability.

      - 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

      - The VC15 builds require to have the Visual C++ Redistributable for Visual Studio 2017 x64 or x86 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)

      amd64 (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, 64-bit memory_limit and much more.

      Long and mulibyte path

      PHP 7.1+ supports long and UTF-8 paths. See UPGRADING for details.


      Archives

      Past releases are available from our archives, older versions not found there can be found at the Museum.

    • Binaries and sources Snapshots

      PHP 7.2

      7.2 has no release.

      PHP 7.1

      Revision: r67f063e (June 20 2017, 16:15:38)

      VC14 x64 Non Thread Safe

        Build missing or in progress.

      VC14 x64 Thread Safe

        Build missing or in progress.

      VC14 x86 Non Thread Safe

        Build missing or in progress.

      VC14 x86 Thread Safe

        Build missing or in progress.

      PHP 7.0

      Revision: rc4ae856 (May 22 2017, 22:30:41)

      VC14 x64 Non Thread Safe

      • Zip [23.23MB]
      • Debug Pack [20.58MB]
      • Development package (SDK to develop PHP extensions) [1.16MB]

      VC14 x64 Thread Safe

        Build missing or in progress.

      VC14 x86 Non Thread Safe

      • Zip [8.73MB]
      • Debug Pack [8.31MB]
      • Development package (SDK to develop PHP extensions) [1.15MB]

      VC14 x86 Thread Safe

      • Zip [8.83MB]
      • Debug Pack [7.06MB]
      • Development package (SDK to develop PHP extensions) [1.16MB]

      PHP 5.6

      Revision: r0f8cf3b (June 20 2017, 09:48:53)

      VC11 x64 Non Thread Safe

      • Zip [9.55MB]
      • Debug Pack [9.52MB]
      • Development package (SDK to develop PHP extensions) [1.08MB]

      VC11 x64 Thread Safe

      • Zip [9.5MB]
      • Debug Pack [9.68MB]
      • Development package (SDK to develop PHP extensions) [1.08MB]

      VC11 x86 Non Thread Safe

      • Zip [20.43MB]
      • Debug Pack [9.89MB]
      • Development package (SDK to develop PHP extensions) [1.08MB]

      VC11 x86 Thread Safe

      • Zip [20.55MB]
      • Debug Pack [10.08MB]
      • Development package (SDK to develop PHP extensions) [1.08MB]

      PHP master

      Revision: r52e5406 (June 20 2017, 10:46:43)

      VC15 x64 Non Thread Safe

      • Zip [23.73MB]
      • Debug Pack [21.73MB]
      • Development package (SDK to develop PHP extensions) [1.2MB]

      VC15 x64 Thread Safe

      • Zip [23.8MB]
      • Debug Pack [21.73MB]
      • Development package (SDK to develop PHP extensions) [1.2MB]

      VC15 x86 Non Thread Safe

      • Zip [21.77MB]
      • Debug Pack [21.95MB]
      • Development package (SDK to develop PHP extensions) [1.2MB]

      VC15 x86 Thread Safe

      • Zip [21.84MB]
      • Debug Pack [22.03MB]
      • Development package (SDK to develop PHP extensions) [1.2MB]

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