• 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, 64-bit 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.1 (7.1.0RC6)

      Download source code [26.15MB]

      VC14 x86 Non Thread Safe (2016-Nov-09 15:37:01)

      • Zip [21.22MB]
        sha1: 0ff0a958af241ab9665190b071574d1a9e4dccf1
      • Debug Pack [20.58MB]
        sha1: 9cc763e77cdebefe315a79d5c2c25e5683f28242

      VC14 x86 Thread Safe (2016-Nov-09 15:37:33)

      • Zip [21.26MB]
        sha1: 149f9b8a8c7260804eb318e64393b93e20be603e
      • Debug Pack [20.63MB]
        sha1: b5da17b14d7e8d746f4d70a235d38708ef89489c

      VC14 x64 Non Thread Safe (2016-Nov-09 15:37:06)

      • Zip [23.18MB]
        sha1: b39b4f0f4268045d749cd9a30d63cba7e3474318
      • Debug Pack [20.71MB]
        sha1: 8d700133aaffbcd7928d5ad5359fc9cfc7842902

      VC14 x64 Thread Safe (2016-Nov-09 15:37:21)

      • Zip [23.25MB]
        sha1: 823dee3497ba75f30e7161854877bf8aafacca27
      • Debug Pack [20.69MB]
        sha1: 6bdd2096bbfd611879093712a01f151322fc4c9a

      PHP 7.0 (7.0.14RC1)

      Download source code [25.53MB]

      VC14 x86 Non Thread Safe (2016-Nov-22 22:27:02)

      • Zip [21.1MB]
        sha1: 966bae23f428ee2e1b5448bd8d7311b034a3b8c6
      • Debug Pack [20.11MB]
        sha1: e917fea923c88689f3da394bfc0af8ab74e1cca3

      VC14 x86 Thread Safe (2016-Nov-22 22:26:59)

      • Zip [21.17MB]
        sha1: 78172bc7035fd3da71c0c87c3a50a5385a463456
      • Debug Pack [20.23MB]
        sha1: 8ab9c3139563463bc180eb207d624b8bd0c34610

      VC14 x64 Non Thread Safe (2016-Nov-22 22:26:57)

      • Zip [23.04MB]
        sha1: dd4d7250890a99c62fcadcd077b091d938a109d2
      • Debug Pack [20.2MB]
        sha1: 47216240b7644d32e41532f4f77bf89f232155f5

      VC14 x64 Thread Safe (2016-Nov-22 22:27:11)

      • Zip [23.14MB]
        sha1: 9c08e997786a6c72f237077167669bf82f44cf8a
      • Debug Pack [20.26MB]
        sha1: e5365a49de47089f2c52dbd54b1304ff7cbe8cef

      PHP 5.6 (5.6.29RC1)

      Download source code [25.12MB]

      VC11 x86 Non Thread Safe (2016-Nov-24 23:21:19)

      • Zip [20.36MB]
        sha1: e694c19cfadf26c633b4454cdf87a9fc24f736ca
      • Debug Pack [9.71MB]
        sha1: 8335b361a838c75d4931a5646ee76d13efe3f4ec

      VC11 x86 Thread Safe (2016-Nov-25 00:16:00)

      • Zip [20.46MB]
        sha1: 74340f7fa09cd8aae310a388b92b0fb53c165716
      • Debug Pack [9.9MB]
        sha1: dd773627597ff2d82a02a3bc5623dbf9b1979c4c

      VC11 x64 Non Thread Safe (2016-Nov-24 23:22:47)

      Note: x64 builds are currently experimental

      • Zip [21.93MB]
        sha1: 0b2482ae773ccdad79ddb0767d61cf4d1d98c38d
      • Debug Pack [9.53MB]
        sha1: c890476384daf01ef9b12be8280a17870b2f1c73

      VC11 x64 Thread Safe (2016-Nov-24 23:51:08)

      Note: x64 builds are currently experimental

      • Zip [22.05MB]
        sha1: 9ddbf1b9044a386c5323f372859ee67a60d86903
      • Debug Pack [9.69MB]
        sha1: f6e8427ad517565cd9a3bd04a3495ea825f18304

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

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