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


      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.9RC1)

      Download source code [29.47MB]

      Download tests package (phpt) [17.36MB]

      VS17 x64 Non Thread Safe (2025-Jun-17 12:47:44)

      • Zip [32.22MB]
        sha256: ccbd8cc1e471d08d91a1409a79363de317eb2dfb6c5ece9a146baddbd1fbbf8f
      • Debug Pack [37.08MB]
        sha256: 3d16550bd3b867f4f7411fc944991a8b42f84120e98e54d55bad3ec6aa4e7b45
      • Development package (SDK to develop PHP extensions) [1.36MB]
        sha256: a43f65d105e6c1ce537a8ac18e99e6d4f7e67d70ae72228b4090d3265f290328

      VS17 x64 Thread Safe (2025-Jun-17 12:51:12)

      • Zip [32.37MB]
        sha256: ec921b4ef8f5a594869d9c4177d10bde6a8002d1791784c694f8dcef966cfde1
      • Debug Pack [37.44MB]
        sha256: a3202a19088c6635eaecc2a03afbb222717a4936d0c497be268a080d3c808759
      • Development package (SDK to develop PHP extensions) [1.36MB]
        sha256: 19666508900c60f63dccb637f90734802f6fe125a9af8cdd93a9fdedef94fd31

      VS17 x86 Non Thread Safe (2025-Jun-17 12:46:38)

      • Zip [28.9MB]
        sha256: 68fa7df04f024f25fab4caf3bdcad9c3d5f60f8110ced4c23f8ffea84e6a2fbf
      • Debug Pack [37.23MB]
        sha256: b00f30bafe06e7e5d9b0032d3b0994392a46376efe9a1c1c5883bb42623a22d8
      • Development package (SDK to develop PHP extensions) [1.36MB]
        sha256: 490f5c8cde8ffc947635a3ab11530ca76acab08df3ba335e49d5d9bc66193c5a

      VS17 x86 Thread Safe (2025-Jun-17 12:47:38)

      • Zip [28.96MB]
        sha256: c6e98845f9c012429623f8ecfef708ce524b2c27895d57c65ed49e20ea092c36
      • Debug Pack [37.33MB]
        sha256: a99f437af94b4000572f441bd7ac65148b36299585c5876c43073bc5034b5573
      • Development package (SDK to develop PHP extensions) [1.36MB]
        sha256: 1be6c224dba91dbc0cdac2b5dfd876ec8568c08b5938076ced5399c77963baae

      PHP 8.3 (8.3.23RC1)

      Download source code [27.56MB]

      Download tests package (phpt) [16.63MB]

      VS16 x64 Non Thread Safe (2025-Jun-17 16:40:54)

      • Zip [30.71MB]
        sha256: 4d43fb66c08d0341e4b6f01be2041b91760fd08f6dec449f89474b92fedbeac9
      • Debug Pack [30.24MB]
        sha256: 3d375bacd8238c58621bc0dad4ca8dab1bbc90346a4124104a7caf046cb33072
      • Development package (SDK to develop PHP extensions) [1.26MB]
        sha256: af33a96028be16e7d3e03feebb6c2f0daf354c692654d9ee96379b8b7d4e7cf7

      VS16 x64 Thread Safe (2025-Jun-17 16:43:24)

      • Zip [30.85MB]
        sha256: c53d4854c8e5e7215e62bfc92d426729bfcfd7ca7915251e15543411230ad593
      • Debug Pack [30.25MB]
        sha256: ffb92ddfff7b0279c894cf81034808d1f12f07e63df4670ec8e1d29fb2a884a2
      • Development package (SDK to develop PHP extensions) [1.26MB]
        sha256: aafce0235e167de96d777afbc452a12f37fad60c337d97f4066548a06abcea78

      VS16 x86 Non Thread Safe (2025-Jun-17 16:44:16)

      • Zip [27.58MB]
        sha256: 75dc0131e761f1a0ae94754632b1c61b641760173bb4c4d209d7ebfd68d621a7
      • Debug Pack [30.29MB]
        sha256: 6b90d9e236a768e99ee80eff0e40f64aeba508f5588f2d58dda2cf01d7beb0e3
      • Development package (SDK to develop PHP extensions) [1.26MB]
        sha256: a752953557229fdde28b07cc8f602f38613497fefc7a38766489058250fb4943

      VS16 x86 Thread Safe (2025-Jun-17 16:45:48)

      • Zip [27.56MB]
        sha256: fa9a2424c4a4c3a1f9bda82503b32b61ee54bdfc2acd339d033168867aff254d
      • Debug Pack [29.97MB]
        sha256: bc5ffb2f545bc3110e9838c95b5666f7f2f9befb4be2c8c381f76d185d062c23
      • Development package (SDK to develop PHP extensions) [1.26MB]
        sha256: c58147d1ef88069c1267fc35934dadcbc8b60c7fce3a6b238e5a218fb0ca03b8

      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.