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

      Download source code [26.15MB]

      VC14 x86 Non Thread Safe (2017-Jan-18 21:06:18)

      • Zip [21.25MB]
        sha1: 0617423638b708c0bc2187b82d5d02757a5bbc80
      • Debug Pack [20.65MB]
        sha1: a26857db59b3fea82a1b693d0ea2162eb309cbfb

      VC14 x86 Thread Safe (2017-Jan-18 21:06:49)

      • Zip [21.29MB]
        sha1: 5f80a93f4fcdc3caa2faae182e39a0b69be3397f
      • Debug Pack [20.68MB]
        sha1: 7ae69a1608a732282f2bd833983327d49449f3d2

      VC14 x64 Non Thread Safe (2017-Jan-18 21:06:20)

      • Zip [23.21MB]
        sha1: aede63d1123d3a586fad1b669a0e52cc8bba5e4b
      • Debug Pack [20.76MB]
        sha1: 4c7f5191b88edfeb98b67ea413deca8c14be2b68

      VC14 x64 Thread Safe (2017-Jan-18 21:06:35)

      • Zip [23.28MB]
        sha1: 84aefb5b1f4148a1895e8ae88726279a57850629
      • Debug Pack [20.74MB]
        sha1: b0111a94fb646bcef1f149bbfa3e8e735895d7f6

      PHP 7.0 (7.0.15)

      Download source code [25.5MB]

      VC14 x86 Non Thread Safe (2017-Jan-18 00:32:27)

      • Zip [21.11MB]
        sha1: 59f936916e365f70fbeb9c106db1355cee9c0e14
      • Debug Pack [20.12MB]
        sha1: 3ae9b4a2ac20be8f58db638e61ca9f1ece07ef75

      VC14 x86 Thread Safe (2017-Jan-18 00:32:27)

      • Zip [21.17MB]
        sha1: 120b7f2bbd153c7bafccf3381f63f8190bdea992
      • Debug Pack [20.22MB]
        sha1: 28a7d49556b92bef809e58dcb076c6b2270051de

      VC14 x64 Non Thread Safe (2017-Jan-18 00:32:26)

      • Zip [23.05MB]
        sha1: 320d247d5087f5129082a47215578b9b047ae959
      • Debug Pack [20.22MB]
        sha1: 162e1b0669ea3989b89986169456963cfdf7097e

      VC14 x64 Thread Safe (2017-Jan-18 00:32:28)

      • Zip [23.14MB]
        sha1: d49f5fb61edba9a7d53d469f11d7ec13f1207d86
      • Debug Pack [20.26MB]
        sha1: 36d12a89b90accedfcbf24ca3b528ba7c2d64a6c

      PHP 5.6 (5.6.30)

      Download source code [25.03MB]

      VC11 x86 Non Thread Safe (2017-Jan-19 07:07:55)

      • Zip [20.36MB]
        sha1: b5b8ad6b0996f97e3521e20b0a74fdb255a2dca9
      • Debug Pack [9.7MB]
        sha1: 336c175f49e613e77e6c54acd50ca86a4697586b

      VC11 x86 Thread Safe (2017-Jan-19 07:07:55)

      • Zip [20.46MB]
        sha1: e0d22bb387e932326af39842bd0117d408cce0a3
      • Debug Pack [9.89MB]
        sha1: 98bff60a1a164e8ba561090f7b2724d27c285704

      VC11 x64 Non Thread Safe (2017-Jan-19 07:07:54)

      Note: x64 builds are currently experimental

      • Zip [21.93MB]
        sha1: 1549201a3972ed7916e25f82342d30e4d0a17dea
      • Debug Pack [9.53MB]
        sha1: 4d0643f80334491d91cec7eea29d5bc25f5ca6ee

      VC11 x64 Thread Safe (2017-Jan-19 07:07:56)

      Note: x64 builds are currently experimental

      • Zip [22.06MB]
        sha1: ae0b41a4e2e3eda219ff44c16b9e7baa6d7fc9bc
      • Debug Pack [9.69MB]
        sha1: 00f5334c9b0d2534bbfb27fb88a853e7ec6081da

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

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