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


      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.0)

      Download source code [26.08MB]

      VC14 x86 Non Thread Safe (2016-Dec-02 07:19:37)

      • Zip [21.25MB]
        sha1: c73a40506ec7e65025c83057d0e05393f0372c04
      • Debug Pack [20.65MB]
        sha1: f0cbe6fdb0ab3dd65e8d49b05d4410906f1ba4d4

      VC14 x86 Thread Safe (2016-Dec-02 07:20:08)

      • Zip [21.29MB]
        sha1: afb042692d01848016c64246672601a28efffead
      • Debug Pack [20.68MB]
        sha1: 0ae825f3d125def89fa5bb30a28d6630fcfa9c1a

      VC14 x64 Non Thread Safe (2016-Dec-02 07:19:37)

      • Zip [23.21MB]
        sha1: 85c0215337b08f9d49c233c16475c15f17b66ac1
      • Debug Pack [20.75MB]
        sha1: f2b5e5eabb04b4df8e9ca6cc5e10c12dec93a5b8

      VC14 x64 Thread Safe (2016-Dec-02 07:19:53)

      • Zip [23.28MB]
        sha1: 48b99e4aae06b6ca4933689277bd3ff836398eb8
      • Debug Pack [20.73MB]
        sha1: 94f85d9e191cfbede68f5f1a9dface3e7e9e55c4

      PHP 7.0 (7.0.14)

      Download source code [25.43MB]

      VC14 x86 Non Thread Safe (2016-Dec-07 01:46:32)

      • Zip [21.1MB]
        sha1: 69958e360c45e347127a8f3f652f8b2449fb4e9a
      • Debug Pack [20.12MB]
        sha1: 672cbe1b0e5645c3486b3d6b43ea9cee1f65a8b2

      VC14 x86 Thread Safe (2016-Dec-07 01:46:33)

      • Zip [21.17MB]
        sha1: fc3f6de7e4f410d778da8f25d4e7bc19395cf122
      • Debug Pack [20.21MB]
        sha1: d392d245d734e19e392f17036e895acda792ec4f

      VC14 x64 Non Thread Safe (2016-Dec-07 01:46:32)

      • Zip [23.04MB]
        sha1: d0d6a6fe279694030588bfff5df3ab95ca209ccc
      • Debug Pack [20.2MB]
        sha1: 4ba5deea910ab2ba41365349ff33a3225f9ef9cd

      VC14 x64 Thread Safe (2016-Dec-07 01:46:35)

      • Zip [23.15MB]
        sha1: a7bf672ef1b99a8603c3f3d84bd54b3b27bf93d7
      • Debug Pack [20.3MB]
        sha1: 07c144daaba6f2af889dd64fc22c1c299727aa58

      PHP 5.6 (5.6.29)

      Download source code [25.02MB]

      VC11 x86 Non Thread Safe (2016-Dec-08 21:51:12)

      • Zip [20.36MB]
        sha1: 71585f1d564fe22652d5bd27a753c62a8e3d7cc9
      • Debug Pack [9.7MB]
        sha1: 2f5c79e7f0516a587b8c166c0e5fa27cbaa31ffe

      VC11 x86 Thread Safe (2016-Dec-08 21:51:18)

      • Zip [20.43MB]
        sha1: cb58af8546b063dcb90eb73ae8fce882c6c31a75
      • Debug Pack [9.89MB]
        sha1: 5d179567e7a36f7a0f37d1a93219d164c335a38c

      VC11 x64 Non Thread Safe (2016-Dec-08 21:51:11)

      Note: x64 builds are currently experimental

      • Zip [21.92MB]
        sha1: d63398a20b67c946fc8a44656b131ddc13cdaf70
      • Debug Pack [9.52MB]
        sha1: 06feae07a0a2e149a0728c72c1d88f4b379929e0

      VC11 x64 Thread Safe (2016-Dec-08 21:51:13)

      Note: x64 builds are currently experimental

      • Zip [22.05MB]
        sha1: 83a325a5dc09884ce227de00c4b1c90a63d2e2f5
      • Debug Pack [9.69MB]
        sha1: b22e5bf8de8639656c0cb8ff00f354acdb2bae9d

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

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