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

      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 HTTP Server builds provided by Apache Lounge. They provide VC16 and VS17 builds of Apache for x86 and x64. We use their binaries to build the Apache SAPIs.

      With Apache, using the apache2handler SAPI, you have to use the Thread Safe (TS) versions of PHP.

      VS16 & VS17

      More recent versions of PHP are built with VS16 or VS17 (Visual Studio 2019 or 2022 compiler respectively) and include improvements in performance and stability.

      - The VS16 and VS17 builds require to have the Visual C++ Redistributable for Visual Studio 2015-2022 x64 or x86 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)

      amd64 (x86_64) Builds

      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.

      x64 builds are recommended (almost all Windows installations support x64).

      Long and multibyte path

      PHP 7.1+ supports long and UTF-8 paths. See the manual for details.


      Archives

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

    • Binaries and sources Releases



      Past releases

      PHP 8.5

      8.5 has no release.

      PHP 8.4 (8.4.10)

      Download source code [29.38MB]

      Download tests package (phpt) [17.36MB]

      VS17 x64 Non Thread Safe (2025-Jul-02 11:09:56)

      • Zip [32.22MB]
        sha256: 41e82269cdb2a651b95d850cddb62072edf6d0888df9611af2d747a3fd9c5a0f
      • Debug Pack [36.94MB]
        sha256: 351ed6e5085e5024c293e11a3beeff2d7fbc171e1b9733edcbf1653a67222ed8
      • Development package (SDK to develop PHP extensions) [1.35MB]
        sha256: 084243eed16dca2b97e17dd549c0f2aa8baa7f00d94324c2dd201e907be65830

      VS17 x64 Thread Safe (2025-Jul-02 11:10:10)

      • Zip [32.38MB]
        sha256: cb9572646efc8892a0c8a91878ec79dde66a2e8d5e2474cfc9e2dba928e141e3
      • Debug Pack [37.03MB]
        sha256: 3e158cf66fb723455a55b9c9d7a9d44a99c0066017860c2a7ee3d567d63be2e4
      • Development package (SDK to develop PHP extensions) [1.36MB]
        sha256: 8660103501ea2ffca87772839468fac9eb4548819315e0cefb22145ae24f7c4f

      VS17 x86 Non Thread Safe (2025-Jul-02 11:08:28)

      • Zip [28.89MB]
        sha256: 473cf82d4214e81fd61f546d525fb59166ec536dfac98656e368f4834cc70f44
      • Debug Pack [37.27MB]
        sha256: 45238bacb61af7fdf61c456c533d555365c63a33d2798f68f71d9cd240536393
      • Development package (SDK to develop PHP extensions) [1.35MB]
        sha256: c6917ee72c387f1a295eff12b7c55a3c73d7524fe6fe4ab864d906303274e7b5

      VS17 x86 Thread Safe (2025-Jul-02 11:08:44)

      • Zip [28.96MB]
        sha256: 474db27923fea397f2f6ac28be4b59dd617f484de92da708d20915e67b64e10b
      • Debug Pack [37.38MB]
        sha256: 602a92be145c40716e5b09d55b205877e35832e38de84640710d0a82b8e84f16
      • Development package (SDK to develop PHP extensions) [1.36MB]
        sha256: 5980cdf41146c0356eed19fb2477b5e19fe6c739773bbff4466789ac801986ea

      PHP 8.3 (8.3.23)

      Download source code [27.43MB]

      Download tests package (phpt) [16.62MB]

      VS16 x64 Non Thread Safe (2025-Jul-01 17:47:58)

      • Zip [30.71MB]
        sha256: 453aa8a82939593c138e56246b70afc1201741f5e6d0a045c8096b5d7c007581
      • Debug Pack [30.19MB]
        sha256: 922e3d4e04327e9b56cb73790a79ad8eb9e8f291ef971f03acb2e331332df691
      • Development package (SDK to develop PHP extensions) [1.26MB]
        sha256: b61da5cf13b55e8a332d740fe5f20168902ae0d39e246ff557c1498d1506577b

      VS16 x64 Thread Safe (2025-Jul-01 17:46:12)

      • Zip [30.85MB]
        sha256: 52fc5656e462b6c185c33edb7218ccf96115684e0c6fa72c31484a90614e51e7
      • Debug Pack [30.26MB]
        sha256: 7e7df427f943ced782ba7ffa53cde101dc014abe1738307d8f5de6d57b3669a3
      • Development package (SDK to develop PHP extensions) [1.26MB]
        sha256: 989cc119cd7ec3ae67335e6da1d57d243c1dacc8900af58c0d00818b39ac121f

      VS16 x86 Non Thread Safe (2025-Jul-01 17:46:32)

      • Zip [27.59MB]
        sha256: a0405e55314700db4f71fc0befe1433e7894946b4351c24ef754601d61929df7
      • Debug Pack [30.35MB]
        sha256: cd0100d87c878ee51fed3f7371f49bbfdeb62a0b874bb473e1a41ca75ca7dcaf
      • Development package (SDK to develop PHP extensions) [1.26MB]
        sha256: b670b9daf68b4fe46b79f13111296b1c92f8a44d4c6d977e56f716aac1254b7e

      VS16 x86 Thread Safe (2025-Jul-01 17:46:52)

      • Zip [27.56MB]
        sha256: 92e6b0c26f6174ef9b10568d94b7a6be4303e2de8fbf749adf5577aea585fc19
      • Debug Pack [29.96MB]
        sha256: 8a116dc7f8926280dfa6ba9b19847f8e43eaadcf986b357fd221391c36001624
      • Development package (SDK to develop PHP extensions) [1.26MB]
        sha256: 3b68326aed4b1d16a79c1ac7ee6a54f51e73ef95a12912254813aee95250ead3

      PHP 8.2 (8.2.29)

      Download source code [26.52MB]

      Download tests package (phpt) [15.89MB]

      VS16 x64 Non Thread Safe (2025-Jul-01 20:37:54)

      • Zip [30.34MB]
        sha256: 8404a12bd421075060ae9f7ae988777a476807163d9d4c10e1ac55175976f5c0
      • Debug Pack [25.52MB]
        sha256: cf8a0e8d0298a70becc467579c984c7088eaf2eac6ac2c2750070402a06391e1
      • Development package (SDK to develop PHP extensions) [1.24MB]
        sha256: d91b0e40f19c32d48a3d227abf397011ce1ee3b4a3a8d5cccb68c4621547ba92

      VS16 x64 Thread Safe (2025-Jul-01 20:41:32)

      • Zip [30.45MB]
        sha256: 3251789a0557eaae3cf25e7b10eccd2fb0480e1cc0ccc2666894c74de45eea76
      • Debug Pack [25.47MB]
        sha256: 7aa990fb89d2ba014162e73d6612393b3d5748fa603bbb8eef60b3d530bb8e08
      • Development package (SDK to develop PHP extensions) [1.24MB]
        sha256: 1be48e56118914994e14dc826b49ae2a69a9ac24623a5e3a142855893e95708e

      VS16 x86 Non Thread Safe (2025-Jul-01 20:38:52)

      • Zip [27.24MB]
        sha256: bf88cf1e7303639db234766e9eeae19d6f0760da127d4ccfd88d4a1a412a8f69
      • Debug Pack [25.7MB]
        sha256: 7c9ed619ae6e43c9e5cbe0569316ccaae6ec0ab0c158fe3f9ddd6911b9e58f8b
      • Development package (SDK to develop PHP extensions) [1.24MB]
        sha256: cef1b2cca7e5f6194e8bedeb1d4778b9eed5eeda24aacba086cdf5f94817bbcf

      VS16 x86 Thread Safe (2025-Jul-01 20:38:26)

      • Zip [27.21MB]
        sha256: 334244d028ef1b2634a5689d3a57add301afefe70ec7391b80452f8542d7a886
      • Debug Pack [25.31MB]
        sha256: 8d3daf6061461fd64392ac6ffe4c01d9b084659897f99c5a101a809fd787b659
      • Development package (SDK to develop PHP extensions) [1.24MB]
        sha256: 606c7bd7b7661fe907311725145eeafd70168128fd05e60f0c87779a10c301c4

      PHP 8.1 (8.1.33)

      Download source code [25.74MB]

      Download tests package (phpt) [15.43MB]

      VS16 x64 Non Thread Safe (2025-Jul-02 09:09:18)

      • Zip [29.35MB]
        sha256: c34703ced40248d68bef4167015d5f2cce35c43850304beb070556f9705fb746
      • Debug Pack [24.97MB]
        sha256: b07152fe913c780e54001304c355f7d13e8fcc5edbdd33cb2af6d910a043c504
      • Development package (SDK to develop PHP extensions) [1.21MB]
        sha256: 44e245c03f1ee1251220891648b409eb0b851194cf47b363b002ab9cd2926d8e

      VS16 x64 Thread Safe (2025-Jul-02 09:11:40)

      • Zip [29.45MB]
        sha256: 3888d81bf6f6a06ff2b9df5114b2ca40075d2631dc3e23584b503c40d44d8ed0
      • Debug Pack [24.96MB]
        sha256: 7a43919fce010b46534d1ca1d8e8e8e2b6e5f5b27c75bf2953371493d528154a
      • Development package (SDK to develop PHP extensions) [1.21MB]
        sha256: 3b57e891f858bfd57c9184dc3ae6f5d96be94ee7d23b33aaa787da4a50268407

      VS16 x86 Non Thread Safe (2025-Jul-02 09:10:00)

      • Zip [26.4MB]
        sha256: d05705d8db10b293c4e92630a327f108555e880d0ba2fbf7d1796b0e144b1ca5
      • Debug Pack [24.99MB]
        sha256: 5476d9d3afe03008ea5c4008cfce5826b74257f69fc755541fdf45255808be2f
      • Development package (SDK to develop PHP extensions) [1.21MB]
        sha256: 80d55f2891b1ad4af1fcefabba5d80eb42cbb25218b31cc3c072302f14fe75bf

      VS16 x86 Thread Safe (2025-Jul-02 09:06:48)

      • Zip [26.38MB]
        sha256: 142c9515ede8d4015758eaf00e9b3f16f578aff0f9bcdb3459c537ea1b5d47eb
      • Debug Pack [24.6MB]
        sha256: be0963317e3e5c08e2289070a077fe166da19433db593a782216da76793c0060
      • Development package (SDK to develop PHP extensions) [1.21MB]
        sha256: a921382def72689140cba60630e8cd4736222ad675d7456d0d5dcc916afc0d31

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