• 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 builds provided by Apache Lounge. They provide VC15 and VS16 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.


      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 8.4 (8.4.4RC2)

      Download source code [29.35MB]

      Download tests package (phpt) [17.27MB]

      VS17 x64 Non Thread Safe (2025-Jan-30 17:33:32)

      • Zip [32.19MB]
        sha256: b3ad2a5e4b7176fef877ceb4fd7c3243647aa6464f0c8890e10769867793292c
      • Debug Pack [37.08MB]
        sha256: 4dfa2e5ad1b39fc4f8a20d20367ad976e6f5eafd7d0e8e0ce56fb592d45438dd
      • Development package (SDK to develop PHP extensions) [1.35MB]
        sha256: 53f1d49cbff33bfe26f7c93f8c08bf3cab5054a76dffa690a095993aea255f8f

      VS17 x64 Thread Safe (2025-Jan-30 17:33:42)

      • Zip [32.34MB]
        sha256: 7c1812959a06b99e3af48f3d1e42d8608184ee62802a1453ddbd178472ca077a
      • Debug Pack [37.41MB]
        sha256: 3d64abccaf6169386a7b5b683b6ad323a0c559f5829de898da50e152f8bab701
      • Development package (SDK to develop PHP extensions) [1.36MB]
        sha256: d5c782982a83b52507ccd1c0dbd8c3814f3038b346f638ce20493b0d6b81622c

      VS17 x86 Non Thread Safe (2025-Jan-30 17:30:24)

      • Zip [28.88MB]
        sha256: 981c1e2092475816866d88c84b69f3a714080485eabc02294a38e80556b50a22
      • Debug Pack [37.42MB]
        sha256: 25250602a78d7d34729e8595ccaf6a42d003e2f58cc2276408806d0da57fa0bb
      • Development package (SDK to develop PHP extensions) [1.35MB]
        sha256: 07f6e38207ace1d2ae1658cebf0ab2991d14741d762ed629a50c521b36763fa8

      VS17 x86 Thread Safe (2025-Jan-30 17:31:00)

      • Zip [28.94MB]
        sha256: 20a59b8ab036b72a7bc49a379ec617408635c877825fcffbdba11237df1622a7
      • Debug Pack [37.51MB]
        sha256: bb02e505a018c0c591e4259896bee4606707d885eee4d3270c76490929f55311
      • Development package (SDK to develop PHP extensions) [1.36MB]
        sha256: d46382edaba56585e59b8aa8239c6ce34c5a2828cfa6d7b6f6554604aeec5af3

      PHP 8.3 (8.3.17RC1)

      Download source code [27.49MB]

      Download tests package (phpt) [16.56MB]

      VS16 x64 Non Thread Safe (2025-Jan-28 19:42:18)

      • Zip [30.69MB]
        sha256: 4f4bbc06a65d2433415855704496ff0f8a2b1abfd8d86cafcf380ce04c2dd3dc
      • Debug Pack [30.1MB]
        sha256: f297bd7d475f17adfd4b8d8a2569a2887a124ee0c4cdc26331d55fd16fda0d62
      • Development package (SDK to develop PHP extensions) [1.26MB]
        sha256: 7254d57b3e5e704457bfaef0142dc28d6ef52ba148e74aa3d27018a4bff7c044

      VS16 x64 Thread Safe (2025-Jan-28 19:44:18)

      • Zip [30.84MB]
        sha256: d93f6480421c93d419cc1fb300414cfe2cee27b5237dce8dae9df7b3b11ae957
      • Debug Pack [30.26MB]
        sha256: 6f1258f0ebb0ea4ded81d409913d9dc61e187cf8d92686e9a968651dce63ca5f
      • Development package (SDK to develop PHP extensions) [1.26MB]
        sha256: 4f6228b0097dd18beaf0fb3c3afc12f0ea4d094ac73267c8cdd9e977df4b36b7

      VS16 x86 Non Thread Safe (2025-Jan-28 19:44:28)

      • Zip [27.56MB]
        sha256: f3e42ca6c7c18232344e718b735b5aa4ae383436bd39faaf1894cec4709d48d1
      • Debug Pack [30.19MB]
        sha256: ce0299260011ed1f940dacb28641ec31045bc89e8885a0ed513091c0f3eefc04
      • Development package (SDK to develop PHP extensions) [1.26MB]
        sha256: 19acfa29347f2309104211bfce0adca85e8c8954151c1a556fdc9eabd9a9df62

      VS16 x86 Thread Safe (2025-Jan-28 19:40:58)

      • Zip [27.54MB]
        sha256: 377842fec34e064b32911a49ec665b43ee38443b467bb8725d2aac9ebc52ef7a
      • Debug Pack [29.84MB]
        sha256: 284abbce14a7ac2fce3522e1f6c0e5a729dd42cbfa9c6e4d782cce85de129c8f
      • Development package (SDK to develop PHP extensions) [1.26MB]
        sha256: 22a602a444f1254217a5b4c1f757083858da9e39eae9c697d06f6c5d906ba367

      PHP 8.2 (8.2.27RC1)

      Download source code [26.63MB]

      Download tests package (phpt) [15.87MB]

      VS16 x64 Non Thread Safe (2024-Dec-03 14:54:38)

      • Zip [30.33MB]
        sha256: 498589d653622d44b0a2b9712f30f1a55e4d2d9c232c31c4ea583aef00a40b12
      • Debug Pack [25.48MB]
        sha256: ad51d621412a626a7541670aa502f829819d3c49fe2339e5f53442af7a2fd916
      • Development package (SDK to develop PHP extensions) [1.24MB]
        sha256: 034e11bf8b0d952408425e1dfc2575904ecf1536748b2dbcb7a262864a853c57

      VS16 x64 Thread Safe (2024-Dec-03 14:58:44)

      • Zip [30.44MB]
        sha256: 367f504e79228bfc8f2bf8d98a2d3fb6739fb59d763090ffa87262ca5e7842fe
      • Debug Pack [25.48MB]
        sha256: 7cca309bd7788ccb30ab486f87b611b135ff9222d9b28fc3b857527ba89dd9cc
      • Development package (SDK to develop PHP extensions) [1.24MB]
        sha256: fa495f40b96ab7bcb7c5241a98e1def12fd21fd840a5962a6cc982ab02081978

      VS16 x86 Non Thread Safe (2024-Dec-03 14:54:04)

      • Zip [27.22MB]
        sha256: ac440d1a7a57965569287c27a86c4dae8af7d079cd0a3456916ade6fd01fc164
      • Debug Pack [25.61MB]
        sha256: 89a26fc91cf50677cf1aa858b09a02e5e50eb24dd5ac7eb9d78d24fcec78ce99
      • Development package (SDK to develop PHP extensions) [1.24MB]
        sha256: eb34b00361b4a0e5958dd95729713144a5bf5ae4bd7a5320c4e5dddcde4fad74

      VS16 x86 Thread Safe (2024-Dec-03 14:52:16)

      • Zip [27.2MB]
        sha256: e62e6ceca04479309e76e9ee85bc5bcd8009c30b5b29b8de87a92837e384e5d4
      • Debug Pack [25.22MB]
        sha256: e7b90d5d93ecd221158a21ce895acdb8e3818d5e3d55a5324796110f9e615246
      • Development package (SDK to develop PHP extensions) [1.24MB]
        sha256: 705a9ee10b6e209c32f23d717e36d5015497a35c7cace98a4642c0642ac25e3d

      PHP 8.1 (8.1.27RC1)

      Download source code [25.79MB]

      Download tests package (phpt) [15.37MB]

      VS16 x64 Non Thread Safe (2023-Dec-05 17:04:14)

      • Zip [29.33MB]
        sha256: 6daabc1841dc844218944fedbf90ff034ccbee0b0cbf0761ed406c78dd6e594a
      • Debug Pack [24.89MB]
        sha256: 3dcb53e30bb82761fded6faf199f83386349e768a12a6fac75715c492e70ee86
      • Development package (SDK to develop PHP extensions) [1.21MB]
        sha256: 4e5a3fec296c62a7dcc482a433c1a8c9dd64bb0b5c6b0723ba46767812df51c6

      VS16 x64 Thread Safe (2023-Dec-05 17:06:18)

      • Zip [29.43MB]
        sha256: dbcc378927f56e5b2cb319523aaa5a249e3468c0326f4b32f2c5033837129aed
      • Debug Pack [24.91MB]
        sha256: 9652f2e618f7213d87062d920b45ff83e285919763bb78d3538010194d13cb9f
      • Development package (SDK to develop PHP extensions) [1.22MB]
        sha256: 543b943833dda271da428b751b122af4fce500f014cda67e7ff4e8003ab1276c

      VS16 x86 Non Thread Safe (2023-Dec-05 17:02:02)

      • Zip [26.38MB]
        sha256: caa1e3f546f1811c840551d95d5d4d8af9d2e1d96ec3ac3aa0d5bf809c17e22e
      • Debug Pack [24.95MB]
        sha256: 3812df67cb10511effde9f39509ff52cc10b24aa8fb1baf3f11fdca0a9836b85
      • Development package (SDK to develop PHP extensions) [1.21MB]
        sha256: eaf2c0f79a7c41c3192ef792a14a9cb1c3b00eeda0f736b49e9a0240d2ccdbad

      VS16 x86 Thread Safe (2023-Dec-05 17:01:00)

      • Zip [26.36MB]
        sha256: 32c303f4572671cc1a92881b69e4144ca479af7bacb2e18412e49650030e05c7
      • Debug Pack [24.61MB]
        sha256: 6980a0ac1f9a34b64fa0919360b7f392f69b324b131fdd297b90d4cafeb23101
      • Development package (SDK to develop PHP extensions) [1.22MB]
        sha256: f32cf2ad455e57d2cb60b9cbcb8555f6f902bff50ffd0fa313a679f5716ef0de

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