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


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

      Download source code [26.07MB]

      VC14 x86 Non Thread Safe (2016-Sep-15 18:07:08)

      • Zip [21.07MB]
        sha1: b4f674a2d7506750febac38e3fdfca95a446bf27
      • Debug Pack [15.15MB]
        sha1: 7f25a1ce21fda44ec66a32aed63ecf659c474ea7

      VC14 x86 Thread Safe (2016-Sep-15 18:07:19)

      • Zip [21.12MB]
        sha1: 70e191c07048982944681e05a9cbd6d614006bec
      • Debug Pack [15.23MB]
        sha1: 455215a8b1c3bb2217bacf48f59daf42dbeefda5

      VC14 x64 Non Thread Safe (2016-Sep-15 18:06:32)

      • Zip [23.01MB]
        sha1: 8fad8fd61ab66633801618fded84e8ac94c079c8
      • Debug Pack [15.24MB]
        sha1: 9524f5b883cc5580c005f8a3589d0924a812bc13

      VC14 x64 Thread Safe (2016-Sep-15 18:07:05)

      • Zip [23.08MB]
        sha1: a774c5680d3538f021dbd365f29f155dd1f8a76e
      • Debug Pack [15.24MB]
        sha1: 9d7516fed8b3d07fa3eeb7d1bab4aac03ac12a40

      PHP 7.0 (7.0.11RC1)

      Download source code [25.16MB]

      VC14 x86 Non Thread Safe (2016-Aug-30 23:36:46)

      • Zip [20.96MB]
        sha1: 39462468dfd0d1826c63e17ebb0e03b465623bc6
      • Debug Pack [14.74MB]
        sha1: 609e5f739f59ce4d6ba043e19b209fe110172fb6

      VC14 x86 Thread Safe (2016-Aug-30 23:36:41)

      • Zip [21.03MB]
        sha1: 05252a428ee57883dab1329c14d612524f67bb23
      • Debug Pack [14.86MB]
        sha1: 6defd00f1e45896fb526004720d892268e5d207b

      VC14 x64 Non Thread Safe (2016-Aug-30 23:36:40)

      • Zip [22.88MB]
        sha1: ff2fdf8357a9ef583cb8a12669a95e4140e8551e
      • Debug Pack [14.79MB]
        sha1: f787b4da78402d146550fd17de0e954fbcd81129

      VC14 x64 Thread Safe (2016-Aug-30 23:36:43)

      • Zip [22.99MB]
        sha1: ebae97e6e4b21552f6ca413ffa1aa6567c58afdf
      • Debug Pack [14.89MB]
        sha1: f3815758ab06a24d6db676a5b098570ef8fa70b9

      PHP 5.6 (5.6.26RC1)

      Download source code [25.06MB]

      VC11 x86 Non Thread Safe (2016-Sep-02 01:21:32)

      • Zip [20.32MB]
        sha1: 3ce1e2be7540e59369487e337d895794c7e9ca80
      • Debug Pack [9.7MB]
        sha1: 9c3b0170e3743c534bec827e8f02dce7644933bf

      VC11 x86 Thread Safe (2016-Sep-02 01:21:36)

      • Zip [20.38MB]
        sha1: 2d1ac70782f2894ac6e45cbe4dac189663496703
      • Debug Pack [9.88MB]
        sha1: 3828defcec763b336911679b281b414ad635da8a

      VC11 x64 Non Thread Safe (2016-Sep-02 01:21:31)

      Note: x64 builds are currently experimental

      • Zip [21.7MB]
        sha1: 83c310317c3f323f6017c46ee077a3fe43cb6f2f
      • Debug Pack [9.53MB]
        sha1: 32bec73bba8f81302d772a4b766e320e7e193053

      VC11 x64 Thread Safe (2016-Sep-02 01:21:36)

      Note: x64 builds are currently experimental

      • Zip [21.81MB]
        sha1: fecaa488b373642951f18d55b06b4d254f74bb07
      • Debug Pack [9.69MB]
        sha1: d1beb6f95a1546b84bf0a34017c2f0080c7b17f8

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

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