• 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.8RC1)

      Download source code [29.46MB]

      Download tests package (phpt) [17.35MB]

      VS17 x64 Non Thread Safe (2025-May-20 19:26:08)

      • Zip [32.22MB]
        sha256: 7524fd05c9499963a9d0e07ec4326534e0fef7d411c6debcfe178b36764a453a
      • Debug Pack [36.94MB]
        sha256: 41c0b0ec1a16f4487c8ada54456448abb7e4e7610080409d86c131e3e65a54c2
      • Development package (SDK to develop PHP extensions) [1.35MB]
        sha256: 445195d0a7580e8fd4a44a8bd90d5372772e284615d526fe4920321b3ca994c7

      VS17 x64 Thread Safe (2025-May-20 19:26:18)

      • Zip [32.37MB]
        sha256: 8eadfb2848640dd19b0160b497bea2025f597f1d70d472b122275bff696bedb9
      • Debug Pack [37.21MB]
        sha256: 4f037e2ce48e09196ae5294b36eb3e7638964888f1322d5f255f024420db5521
      • Development package (SDK to develop PHP extensions) [1.36MB]
        sha256: e282bb2bf9589199f111b2bcda6e51f10e2665397b04c604ba5d3d143519c3f1

      VS17 x86 Non Thread Safe (2025-May-20 19:25:20)

      • Zip [28.89MB]
        sha256: 3644cc5530d10bb29188efc19a37ee675fc4a39b6fb64804eb43ecea04e10ff1
      • Debug Pack [37.22MB]
        sha256: 684085a0cf9a7805176474b343fc7bcd4dedd5a20a0d41a15ec247b0e9a94c19
      • Development package (SDK to develop PHP extensions) [1.36MB]
        sha256: b76237b7c945d32f7a743ffe7ada4237375fd9407c9c08e7f972597e8125ac61

      VS17 x86 Thread Safe (2025-May-20 19:25:20)

      • Zip [28.96MB]
        sha256: f02538bc47ad3ef11d877065ae57313058ee7a1a01018557b2d3829eb0979305
      • Debug Pack [37.32MB]
        sha256: eb4b576e57df3019854505735f5397243d873c4afb712f88c9be1f2fb053777f
      • Development package (SDK to develop PHP extensions) [1.36MB]
        sha256: 7b2e413626578c4ba215085942a71221383ad65b80f781c66fb7e4ae5f03f635

      PHP 8.3 (8.3.22RC1)

      Download source code [27.56MB]

      Download tests package (phpt) [16.62MB]

      VS16 x64 Non Thread Safe (2025-May-20 23:54:50)

      • Zip [30.7MB]
        sha256: 156576873148a6dc29ec1ab39a5b289ae16ef34c145b06ed1835e262c44cdf2a
      • Debug Pack [30.29MB]
        sha256: 6f645c8e2174e4f596af538ee5fe698c1d3c33116ef5693f42ecd68e4f947688
      • Development package (SDK to develop PHP extensions) [1.26MB]
        sha256: 94e400c184a7604b562574bf390d9c329cf786ac9c8a26001b410d84d1ee8fb7

      VS16 x64 Thread Safe (2025-May-20 23:54:16)

      • Zip [30.84MB]
        sha256: c344b7447f4b7a2f62608b6a088e818f9b23dbc3ebd95e4008f2fd32cb3a3c70
      • Debug Pack [30.25MB]
        sha256: 6b8a54951f8def4bbd5393c1a9a1c8af4068e88786b028bea08a66270e29864a
      • Development package (SDK to develop PHP extensions) [1.26MB]
        sha256: 67939fe8c837883367ceb20d7a56e907a08064a153073c4e9ca86baba53fb708

      VS16 x86 Non Thread Safe (2025-May-20 23:52:28)

      • Zip [27.57MB]
        sha256: 43084780cde37173441b73f7b1719223a53fd42afd0a6d80b31bd4347d868c4b
      • Debug Pack [30.26MB]
        sha256: 95c37e4fe72718cf30738b4d7bb19b2fd1b1e06868ef42d5734e577d3f68d924
      • Development package (SDK to develop PHP extensions) [1.26MB]
        sha256: 9c541a3bf08bc364425dc9b9a0a8e07bbec8e6c36b70de766f7bc799db6eab56

      VS16 x86 Thread Safe (2025-May-20 23:50:36)

      • Zip [27.55MB]
        sha256: 030d9eb789f00fcf40351928528600b209806b737fe638f2b581e4bb469533aa
      • Debug Pack [29.79MB]
        sha256: 9d0c3ad6af8254f032d3c5037887594b8d94a623170bb7e34aa905f888e7e6df
      • Development package (SDK to develop PHP extensions) [1.26MB]
        sha256: c3b2e61df3dc76810b50eee93867452e7964cc61d123170682f8a101d4eab8c8

      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.