• 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.5 (8.5.0beta1)

      Download source code [31.31MB]

      Download tests package (phpt) [17.69MB]

      VS17 x64 Non Thread Safe (2025-Aug-12 15:28:02)

      • Zip [32.93MB]
        sha256: 5c0cecea2795e280257b09932dcb33548c96025a73c543e0597da328563548f2
      • Debug Pack [37.57MB]
        sha256: 8dc093d37aaf3b77d8b6d77df4bd520562265190b5d4ee3452c9a696a19233b6
      • Development package (SDK to develop PHP extensions) [1.46MB]
        sha256: e696f4fcb56d8eb43c1e23c969d2d5ac2924334a51121dd847ac55f47ff552fb

      VS17 x64 Thread Safe (2025-Aug-12 15:29:54)

      • Zip [33.05MB]
        sha256: 3ca97087611c01a8c44eecc5e238a655f80861beaed4ac0f27ce2e2ee54b9753
      • Debug Pack [37.69MB]
        sha256: 200e874570715f4d92ea5c7b05839994009f578660b666d237c147d342771fff
      • Development package (SDK to develop PHP extensions) [1.46MB]
        sha256: cbd561c7fe5b52d85ca35bf61447fbebbda6dc76437da4d28eeac00dc3080450

      VS17 x86 Non Thread Safe (2025-Aug-12 15:26:24)

      • Zip [29.43MB]
        sha256: 12aa92659535fb062fa72ae015bddb607c0b91af0ce763d3738c1ff917b0f4a5
      • Debug Pack [37.97MB]
        sha256: ff8d354d28f817d19a99b108b144b1170843f672dc6cbb2d9cf2f121b902cc50
      • Development package (SDK to develop PHP extensions) [1.46MB]
        sha256: e876aaeb6e6d695399d0a6d1258804e82db8acc0518e24b3a0170b183576fa45

      VS17 x86 Thread Safe (2025-Aug-12 15:27:44)

      • Zip [29.44MB]
        sha256: 829ca362f19c2620665748d488a48b1713ef3f580d66612cc005fd30a6690901
      • Debug Pack [37.96MB]
        sha256: 9344b0688f35872edcdfa191416ea3cd01d6f4ab098bc6b9abb60f5cb105ede5
      • Development package (SDK to develop PHP extensions) [1.46MB]
        sha256: 60f3dfc27678380c007c7972177d54397c4de336e2fe36b1ef9ac393b495220a

      PHP 8.4 (8.4.12RC1)

      Download source code [29.57MB]

      Download tests package (phpt) [17.38MB]

      VS17 x64 Non Thread Safe (2025-Aug-12 17:16:30)

      • Zip [32.24MB]
        sha256: 5fd2873a8f0389d90335d77d1fc52dcba1bc15988a535e55394ae680cda23bed
      • Debug Pack [37.08MB]
        sha256: 735d0e967b8147e14a720dab5db8d7800b61923e58cdb7a8b5d9b616be98c581
      • Development package (SDK to develop PHP extensions) [1.36MB]
        sha256: f4335eb064a4c58c6ff8803eaa650ed29f6b2656311a1c8932057fac1f542c7c

      VS17 x64 Thread Safe (2025-Aug-12 17:15:42)

      • Zip [32.4MB]
        sha256: 8b42c9a3754ec3d3aacbb2c177dfd484f3224d6776ea39ac46d3294352f6c560
      • Debug Pack [37.1MB]
        sha256: e088fbb5bc9d390127b2637c0dc0240e2279f6cd27e6a308e425e3ee28358673
      • Development package (SDK to develop PHP extensions) [1.36MB]
        sha256: f57bc7aae80587deb716523e82ff6f360cd8e9050f44393fd8353c57d4ccce55

      VS17 x86 Non Thread Safe (2025-Aug-12 17:14:06)

      • Zip [28.91MB]
        sha256: 092944352b0c77b7518254da9473285ff4a25abde69718d6a6ff5621fa899789
      • Debug Pack [37.29MB]
        sha256: 4374c3ab51a271208f9cf2e7eec18db460ca5a3010c9ab711c8e4e5032530212
      • Development package (SDK to develop PHP extensions) [1.36MB]
        sha256: bef3c7d4c2fb58f78153b09e06932011051ef84e018453378b07f23120d43aeb

      VS17 x86 Thread Safe (2025-Aug-12 17:13:42)

      • Zip [28.98MB]
        sha256: 9b46f8b8482fab31fc57e5f8f31dc8f5a815578734e0f5de6b671e22b739070a
      • Debug Pack [37.38MB]
        sha256: 0b3f78e4c63bfdde578c4231f9655f60297de02ece1c6ed5d26345cfd870bb85
      • Development package (SDK to develop PHP extensions) [1.36MB]
        sha256: f7e588cd732dc5f3859ab29a53f660ebc34e98042d5490008a256bda9761f910

      PHP 8.3 (8.3.25RC1)

      Download source code [27.6MB]

      Download tests package (phpt) [16.64MB]

      VS16 x64 Non Thread Safe (2025-Aug-13 17:13:36)

      • Zip [30.71MB]
        sha256: 9a4903d2ca5101656bddfe7223bdeda5d74664d917fa88a472589f4df751e582
      • Debug Pack [30.21MB]
        sha256: cf234d93190d132ad8c5ebda61753c708d1e17fdd774b5af2316b76172da800f
      • Development package (SDK to develop PHP extensions) [1.26MB]
        sha256: f1ba2d023e122e55d9e9f044242be849b54a78e359648d704bd99ea9c5e6f4bb

      VS16 x64 Thread Safe (2025-Aug-13 17:16:50)

      • Zip [30.86MB]
        sha256: fe4edbe2f3462bf6214b2cbfa6f7ccaf2fbefde2e9af3e62836f2f98d45628b6
      • Debug Pack [30.26MB]
        sha256: 8e791d85b79cbe2897a57faec0c607720ff2eea64f2105ca7696f091ad30a3d7
      • Development package (SDK to develop PHP extensions) [1.26MB]
        sha256: 0c16f32741e51f676b7b5087e1e25be4c8348d237a1e1307a9a8f83eafc962e0

      VS16 x86 Non Thread Safe (2025-Aug-13 17:14:30)

      • Zip [27.59MB]
        sha256: 8088797648d4d0cd0eb004bd526b47c3112467b5b6f188e89bf965a0cb1a349e
      • Debug Pack [30.35MB]
        sha256: 013773ce7c0551494d2b33cc3619bf8ea527b172636cade9b02aac321efb3875
      • Development package (SDK to develop PHP extensions) [1.26MB]
        sha256: fa8046b05665841b1a7cac7fb0fc20d710c4627791d63eacaa4fb8de4600452e

      VS16 x86 Thread Safe (2025-Aug-13 17:13:26)

      • Zip [27.56MB]
        sha256: 67dbdf3f951e287e791f3c93347ab1e6611c31e9472120e152e11e3b0d71f64a
      • Debug Pack [29.95MB]
        sha256: 666951a4ee0256f03cedcf09687acd410c01792fbfb329b7b9a280f930e97351
      • Development package (SDK to develop PHP extensions) [1.26MB]
        sha256: 222664e7b9c8fd3c559855fe3ee02bbfbb2a62c11ba9914a73c29e927a382848

      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.