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


      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.5)

      Download source code [29.25MB]

      Download tests package (phpt) [17.3MB]

      VS17 x64 Non Thread Safe (2025-Mar-12 12:23:14)

      • Zip [32.21MB]
        sha256: 6fd0e9131c242e71a4975a67395c33ac5dab221811ad980c78dfd197f6ead4a7
      • Debug Pack [37.02MB]
        sha256: 79390a38eb4f6d9dd6c13cebd10d4e61acd8c3d80b6f07685912f31dec59ff7e
      • Development package (SDK to develop PHP extensions) [1.35MB]
        sha256: 8b2096c33c7cc2b80107849d7909590a7322aca3e201224714b355f0a1d9e91a

      VS17 x64 Thread Safe (2025-Mar-12 12:25:04)

      • Zip [32.36MB]
        sha256: e7d71476a4e785c83a235d4ae9deda3b809386735a44d897fb8bbef4fde3f5e4
      • Debug Pack [36.92MB]
        sha256: 965c4c8a71813275d8a5c11136c8f39328ec09485dec2cdeb79e841771a72f8e
      • Development package (SDK to develop PHP extensions) [1.35MB]
        sha256: d653dfdaf0205cb589ec1604be042ba87eb341112c77623f1ab3b0cbc5bcc1f6

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

      • Zip [28.89MB]
        sha256: f1767bcf118425e8e6d6bbd165683f6020dfe27e6b3a0e48090897d057d13ba1
      • Debug Pack [37.22MB]
        sha256: 23dbcbec112966a8e98daf7d1d87b979892dab3b922d448a74984451a0d45b27
      • Development package (SDK to develop PHP extensions) [1.35MB]
        sha256: a885bc8b63508f3199b9e9f513c820140cb96231a1d7f553fd912c0fb0cb346a

      VS17 x86 Thread Safe (2025-Mar-12 12:24:32)

      • Zip [28.96MB]
        sha256: 7a87be6fb829728ab33848d391411d931f0366f470033509dbe4f681cf1fe97b
      • Debug Pack [37.33MB]
        sha256: ec7568ae9487891f1c58a1c626b2bf1000be60c32cc16376243d3ce8217e73ec
      • Development package (SDK to develop PHP extensions) [1.35MB]
        sha256: a13461df7db0e1139a43524e6bd4c98a7c11e1dd76f3f546fd1c65f7691015ed

      PHP 8.3 (8.3.19)

      Download source code [27.39MB]

      Download tests package (phpt) [16.6MB]

      VS16 x64 Non Thread Safe (2025-Mar-12 14:21:52)

      • Zip [30.7MB]
        sha256: 5d9ab9d5a1df5a076a5716e895716e708f1e518c1cd5feed0e2895870d73de24
      • Debug Pack [30.32MB]
        sha256: e1c289b8c2305132770536e171f2b9d21831ed0e7c9e1612aba633e0d58498ef
      • Development package (SDK to develop PHP extensions) [1.26MB]
        sha256: 5e1a6faf41c1ce9a83c9298949c030a29d0f3f2a08a89e5c7087033ae8f8c375

      VS16 x64 Thread Safe (2025-Mar-12 14:22:32)

      • Zip [30.84MB]
        sha256: a3b9d78b527e8e90a8c888a6cc38483f2d5741b4e061590e527a01ba4baef0e6
      • Debug Pack [30.28MB]
        sha256: dbb738e4a8555c8e105c1f6620b1d9c802348a45fa28f9a3d016df7d9d6f4ade
      • Development package (SDK to develop PHP extensions) [1.26MB]
        sha256: 4a2923f984c5861c81cafb7a9378edba0cdbcdd68a3d07385019fce412d29a37

      VS16 x86 Non Thread Safe (2025-Mar-12 14:19:20)

      • Zip [27.57MB]
        sha256: 809177de525a771baa0fbd5fe3053989b182e324e3a61c624572f91c2dd40750
      • Debug Pack [30.23MB]
        sha256: 96e9e68860c319ca2ceddbbe0446ca4d10d521084558759b26526de35995f27f
      • Development package (SDK to develop PHP extensions) [1.26MB]
        sha256: 54f17a92cbe03aa7ee6c2278591f38348ec2c5f96457d411bbb9219fd0893d42

      VS16 x86 Thread Safe (2025-Mar-12 14:19:06)

      • Zip [27.55MB]
        sha256: 343cbbc03b92f3fb87bd5f9dc413a96cc8cc35bf5887f6680c1ad893275fb203
      • Debug Pack [29.87MB]
        sha256: c77e86ed742c5b249b38ec40a2631e977a01a739c87283625da4f82c1fdbf3b5
      • Development package (SDK to develop PHP extensions) [1.26MB]
        sha256: 19aec2bb143c433510a90fd5c345c865af9a8c207540cbc660523e749721ab36

      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.