• 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. The interface on the pecl website will most likely be updated to offer Windows DLL download right from that website.

      In the meantime, some extensions can be found here.

      Which version do I choose?


      IIS

      If you are using PHP with IIS you should use the Non-Thread Safe (NTS) versions of PHP.

      Apache

      Please use the Apache builds provided by Apache Lounge. They also provide VC11 builds of Apache for x86 and x64. We use their binaries to build the Apache SAPIs.

      If you are using PHP with Apache 1 or Apache2 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.

      VC9 and VC11

      More recent versions of PHP are built with VC9 or VC11 (Visual Studio 2008 and 2012 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.

      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 for Windows should be considered experimental, and do not yet provide 64-bit integer or large file support. Please see this post for work ongoing to improve these builds.


      Archives

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

    • Binaries and sources Releases

      PHP 5.5 (5.5.4)

      Download source code [21.45MB]

      VC11 x86 Non Thread Safe (2013-Sep-18 23:44:17)

      • Zip [17.77MB]
        sha1: 73f3066daa031e0afcdf4df603138a3cef747b47
      • Debug Pack [9.3MB]
        sha1: b2f250383968a9d9fdcdc973f719689878922c1b

      VC11 x86 Thread Safe (2013-Sep-18 23:44:17)

      • Zip [17.84MB]
        sha1: 705fdd6a7584e5bd9649ddbd8850fbcea4bb3067
      • Debug Pack [9.49MB]
        sha1: 1381bc22ead205ede1c6f0ddbcd85871f444c5f0

      VC11 x64 Non Thread Safe (2013-Sep-18 23:44:20)

      Note: x64 builds are currently experimental

      • Zip [18.98MB]
        sha1: 527aaa2e2445dfcf35cb2cdcb0b672500fd61bf0
      • Debug Pack [9.21MB]
        sha1: 8ee439d845c4af78ba1bc295c1852aeb8f24df6e

      VC11 x64 Thread Safe (2013-Sep-18 23:44:20)

      Note: x64 builds are currently experimental

      • Zip [19.11MB]
        sha1: 62d868c44420c1d2d3402bd4c8bcf85fb99d09c0
      • Debug Pack [9.38MB]
        sha1: 00c883ee07da734558d4f52eb1980d50c8f82cb1

      PHP 5.4 (5.4.20)

      Download source code [20.88MB]

      VC9 x86 Non Thread Safe (2013-Sep-18 23:38:41)

      • Zip [15.87MB]
        sha1: 944cc5341ec33e80bcaa58acae77869c0d5677ff
      • Debug Pack [8.09MB]
        sha1: fc04a1b29246ef11e64affbc1973c0d7abb0d2ac

      VC9 x86 Thread Safe (2013-Sep-18 23:38:43)

      • Zip [16MB]
        sha1: 565f932a1aef46a251033dfce7dbc20da7a62669
      • Debug Pack [8.5MB]
        sha1: c5b65679b9ad849592719d08fcb74349165ece12

      PHP 5.3 (5.3.27)

      Download source code [19.87MB]

      VC9 x86 Non Thread Safe (2013-Jul-10 21:56:49)

      • Zip [16.24MB]
        sha1: 78ed5e961ce7018042d849361b61b7737c535c2a
      • Installer [45.74MB]
        sha1: 8517e13a938801b3c2205be48d11bb592cfdea52
      • Debug Pack [8.36MB]
        sha1: 67caece3a0772c0d461729501f2709c95abc97f5

      VC9 x86 Thread Safe (2013-Jul-10 21:56:58)

      • Zip [16.38MB]
        sha1: feac749ce21db18548982082c94892f8b5bd49e0
      • Installer [45.86MB]
        sha1: b6545b011f76217e3e651c3be801302a4f772192
      • Debug Pack [8.78MB]
        sha1: c4603f34e31327545c6270440f3ebae188f205ca

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

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