• 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.4 (8.4.8)

      Download source code [29.32MB]

      Download tests package (phpt) [17.34MB]

      VS17 x64 Non Thread Safe (2025-Jun-03 17:39:44)

      • Zip [32.22MB]
        sha256: aae862b9b6e8a8fefb3bc2554cd62ff45174004e5f4f1ff5a3f5684b36536cf6
      • Debug Pack [37.18MB]
        sha256: d1e6a1c15a2fe3d23e780e207867c36ab1e47feef985cdfb002e62768c65512c
      • Development package (SDK to develop PHP extensions) [1.35MB]
        sha256: 414e740dad30d1addecd76a9064ee9309e69a4fdfdc6093c20aeaf34f5c45c17

      VS17 x64 Thread Safe (2025-Jun-03 17:40:02)

      • Zip [32.37MB]
        sha256: 3c8cbd36ea70af46179379d67fb661854f3fc318058313d40f869b62b4dde32a
      • Debug Pack [37.21MB]
        sha256: 2e403fb5ff020c7440a1247381c5c4773a8dd123821d8c2aa30d8c0c26d568da
      • Development package (SDK to develop PHP extensions) [1.35MB]
        sha256: 011ec40fb6377d5db8db1347d1541a7dfc9daca616630349ebb8b03c2eb754b5

      VS17 x86 Non Thread Safe (2025-Jun-03 17:39:14)

      • Zip [28.9MB]
        sha256: c86b2e5f871c55516496debde7f5b84cd0c12e727c91376337e09e38f5d515ef
      • Debug Pack [37.24MB]
        sha256: 8acef92e4c7afab1f7cff38e0b92a33b3c9930914679fcfb6fa0cbc41ab6e1f2
      • Development package (SDK to develop PHP extensions) [1.35MB]
        sha256: 3c3d134614e9e377f19fa667846305a387f135a28947e732377d2991441e62d5

      VS17 x86 Thread Safe (2025-Jun-03 17:39:30)

      • Zip [28.97MB]
        sha256: 7c9234c67f066610961689edd0a83596fb038c720bd01e514c5fbe1c966280ce
      • Debug Pack [37.33MB]
        sha256: 0ecf8f7c2703e456d58b69221fcfc40b162f54c91ac82d02cad4ce86c2b6a6e5
      • Development package (SDK to develop PHP extensions) [1.35MB]
        sha256: 8ac0a5500b4aaba3824fb28338563f3a3234c2d4f182271bca96c7475055ac40

      PHP 8.3 (8.3.22)

      Download source code [27.42MB]

      Download tests package (phpt) [16.62MB]

      VS16 x64 Non Thread Safe (2025-Jun-04 21:51:58)

      • Zip [30.71MB]
        sha256: 289ba4f35dcd654a1ea4eb1416c8d364d5558f0ceb9cc604f9d0a90c1606129a
      • Debug Pack [30.13MB]
        sha256: 78e954dad43c79dbc81946f4e7c5b4210b5552b2f3495369b9a087bf7b5d46cb
      • Development package (SDK to develop PHP extensions) [1.26MB]
        sha256: 3b453005f8d01526f24de83583c8d5fbdcf2f608772aa66e9269763ced277cfc

      VS16 x64 Thread Safe (2025-Jun-04 21:50:46)

      • Zip [30.85MB]
        sha256: 71710d47900e2e84d84b5f8b62b3ec8f74bf9d4003ede37e1757c9f6e5590985
      • Debug Pack [30.42MB]
        sha256: 528471f130dfa9e37828d26e389fdbaff01c8d8283bbdb30b6ea6ad9de0d8594
      • Development package (SDK to develop PHP extensions) [1.26MB]
        sha256: 1c9a6c6aca54be7ad213735d8ab2289df90cfdd57e6c6bc50f86c805e50c2e44

      VS16 x86 Non Thread Safe (2025-Jun-04 21:50:52)

      • Zip [27.58MB]
        sha256: ee8e984f21c3f25c25d252305a1dd267459d8e91b7bb46a205d2d1b6466c2026
      • Debug Pack [30.26MB]
        sha256: 9fdc23463ca3d7a3580ebe5c8b1958740aec94dbf9175ad4f34b80780e980a93
      • Development package (SDK to develop PHP extensions) [1.26MB]
        sha256: 25cc63cd9e5174819c3eea528842b5b70a6aff73074254beb5d4e0e3fa2d5801

      VS16 x86 Thread Safe (2025-Jun-04 21:47:50)

      • Zip [27.56MB]
        sha256: b7b147ad3fc56797de4aae685baaaf983c544f2e4b5f449e9e81375413f15c62
      • Debug Pack [29.86MB]
        sha256: 3110faa9ddf2a216a104584fb6d6171d094aa6742399cee3ca9da7ecbc76f874
      • Development package (SDK to develop PHP extensions) [1.26MB]
        sha256: 3a895b23c856f241fffd40cde3a71d0c714f5f741b443d1f3ae692a490e70999

      PHP 8.2 (8.2.28)

      Download source code [26.52MB]

      Download tests package (phpt) [15.89MB]

      VS16 x64 Non Thread Safe (2025-Mar-11 18:55:38)

      • Zip [30.33MB]
        sha256: eb25bf88edc2b7648b0757f2885df4573a0c85b43bde69a9277b258760562b96
      • Debug Pack [25.43MB]
        sha256: 22850eef389a4540dcc92f377caf99b08d1b6e453731995c79d28aeed27bf92c
      • Development package (SDK to develop PHP extensions) [1.24MB]
        sha256: 662c730a96e80cfb3bd063db63785c11c9512d2e4b9d46292e9121b800e6b4e8

      VS16 x64 Thread Safe (2025-Mar-11 18:57:48)

      • Zip [30.44MB]
        sha256: 50cc8d5437ae81356de64cd6f79996c4f5a2b8a2e2479a0be9af13b16a7eecc8
      • Debug Pack [25.59MB]
        sha256: 53dd31a1fa11fb6c8ef28701f5273326300e1d1847ff8712a9daf723732e152b
      • Development package (SDK to develop PHP extensions) [1.24MB]
        sha256: c41fe84958fca14eb5f7434c7bfa1bfaedf0f74eadf9db4bcbdc3e1d48984340

      VS16 x86 Non Thread Safe (2025-Mar-11 18:52:24)

      • Zip [27.22MB]
        sha256: 65775058a844e60b9a7bdcae1827f053cf2e9bafef482ae637ff0749d10bd7b2
      • Debug Pack [25.62MB]
        sha256: d97029baed625b58b30e9ec433358bc4fdb83f9d3efcac5a90d9b9b730d719e9
      • Development package (SDK to develop PHP extensions) [1.24MB]
        sha256: 38fd9dba94e75705b7932536393b3f16cd8340171450ee1b252e2b03a6dcaafd

      VS16 x86 Thread Safe (2025-Mar-11 18:51:46)

      • Zip [27.2MB]
        sha256: bb5d555e2ecb9c1c220140f92cc53e7709feb2953434b888562d06165c8f14a9
      • Debug Pack [25.28MB]
        sha256: d09f710e2f485e0dc4713ae4331de2231d81a945373ccbad8dc239c435319bb2
      • Development package (SDK to develop PHP extensions) [1.24MB]
        sha256: 1075002f9bbe1190cab7955f97e1c01e42afd8315f2adcc8726f3699cd43327c

      PHP 8.1 (8.1.32)

      Download source code [25.74MB]

      Download tests package (phpt) [15.43MB]

      VS16 x64 Non Thread Safe (2025-Mar-12 11:13:34)

      • Zip [29.34MB]
        sha256: a39a588cbfd304bda51ea5c9b13fec53b9a63f0f306f53ee08409fda58dabbfb
      • Debug Pack [24.93MB]
        sha256: f5c327bf4ad24722f9b4dbdcd546c16edcf0562e63ba5446e9bcec74c0ddcf11
      • Development package (SDK to develop PHP extensions) [1.21MB]
        sha256: 7a9560331219f198d172cfe6883297ec13ed30b6b01318b5aa962b642464269a

      VS16 x64 Thread Safe (2025-Mar-12 11:17:00)

      • Zip [29.44MB]
        sha256: 6729ee58a364b5176360ce826678840a54c55e6036d11499330383cd6689f8e4
      • Debug Pack [24.81MB]
        sha256: 7e9511ff17ca112bdcec2594037ba26e3e4829a59e4160c7b8438052c2287fdf
      • Development package (SDK to develop PHP extensions) [1.21MB]
        sha256: 9f14572b3aeabcc2a591300a20209ce72b08ca9e5152b74a6840114eb7345d7f

      VS16 x86 Non Thread Safe (2025-Mar-12 11:12:10)

      • Zip [26.39MB]
        sha256: 1c2705f73b5eb79e5695622f73d254bcf486f782c9b8c9c2bfc0aabdb80e122e
      • Debug Pack [24.99MB]
        sha256: 3a4265a1adf0b592aaf09d3c489b81b214c2c7eedf9fc7677c1f739a5cac13d8
      • Development package (SDK to develop PHP extensions) [1.21MB]
        sha256: 889419a652b933b1804fa028ed31b945a7229b0a511e87a67a61023a3a88a210

      VS16 x86 Thread Safe (2025-Mar-12 11:10:46)

      • Zip [26.37MB]
        sha256: 1b1dd346ee0b329e7b92a984f2f3dc6c987a300289ff112f978dfcce30565893
      • Debug Pack [24.61MB]
        sha256: d9bfac775f4eff2c291e24f4928e91d0bf2482654431876c4232ef7a7fde520d
      • Development package (SDK to develop PHP extensions) [1.21MB]
        sha256: bef96cb478e8b34a3d20d6c01e676a68e182c0b4d4456e3a5b3bee440779e970

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