• 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.0RC4)

      Download source code [31.73MB]

      Download tests package (phpt) [17.99MB]

      VS17 x64 Non Thread Safe (2025-Nov-04 19:11:40)

      • Zip [32.96MB]
        sha256: 940059ac6512990aabef1d7b88e6f15d8e356cc6e804464b8f0484334a021856
      • Debug Pack [37.44MB]
        sha256: ec85298556def9c45d880e6d0cffb705c1b244e2bd4db74c86966d7c6aa80d9d
      • Development package (SDK to develop PHP extensions) [1.64MB]
        sha256: fd5d598348e34345a59b5d4ba23b10a3b056f643202589682adc2d080362be31

      VS17 x64 Thread Safe (2025-Nov-04 19:06:10)

      • Zip [33.08MB]
        sha256: cedce8f8061e195be4cf01fda67d1ff38865872a1424db54fa1680e3f4744572
      • Debug Pack [37.44MB]
        sha256: 4ce4b0d32ca32cfb74209cc1862cb5de7e01998f4752a74b58299377f16cb111
      • Development package (SDK to develop PHP extensions) [1.64MB]
        sha256: 8928561fdb09fcea270ce8dcc62cd09405e2fe555de508d63b06933d1769544f

      VS17 x86 Non Thread Safe (2025-Nov-04 19:04:12)

      • Zip [29.46MB]
        sha256: 689864fd915e6806bff549f62a92281b22aee18e157a9cf36615995939383efa
      • Debug Pack [38.1MB]
        sha256: cc97c4fc1e91173da776749cf5e5077da142082eebdaa9b4f6e72ca2a374df06
      • Development package (SDK to develop PHP extensions) [1.64MB]
        sha256: d37869800651b5d85355ed7869320d51736b9ea672a2ec3678e66773f963dcc5

      VS17 x86 Thread Safe (2025-Nov-04 19:04:28)

      • Zip [29.51MB]
        sha256: 76634d263793316eeca502dd0cf69be008d3812a88f18f79c0d8580997422f7c
      • Debug Pack [38.05MB]
        sha256: bbfa6812ac51324d11ca856dbd850f18749f828ad84739cb82cf64f81b8fd60f
      • Development package (SDK to develop PHP extensions) [1.64MB]
        sha256: d1b3f3147fc32b261bea8fbedc2eabac3edaca500cc5acf40943266870737d97

      PHP 8.4 (8.4.15RC1)

      Download source code [29.91MB]

      Download tests package (phpt) [17.42MB]

      VS17 x64 Non Thread Safe (2025-Nov-04 17:45:46)

      • Zip [31.95MB]
        sha256: cbe92d89d0298eb41b40ad3b05edd46c2b5e4c3c05fc166a14ad4c65c3d2c73c
      • Debug Pack [36.69MB]
        sha256: dc7ee5132084b44cc6b24b5fcafdfdf6436bc146a790095bd5577c70e8791d39
      • Development package (SDK to develop PHP extensions) [1.36MB]
        sha256: 0bdb34aae49c22bfa916c5e71c50920922aa93f018ee76dad380316fe831d79e

      VS17 x64 Thread Safe (2025-Nov-04 17:43:46)

      • Zip [32.1MB]
        sha256: ad752ead3e3b6b9a8f3bbb50603667564758d0f96afd0132a7c1c233d393ddb9
      • Debug Pack [36.78MB]
        sha256: 11bdb136e00a23cff0679ff72aa429bb0bdf027d3c2c1708a7246601374c2a6d
      • Development package (SDK to develop PHP extensions) [1.36MB]
        sha256: 06a73e2c0659816df7a45266d85ee88ce59386e5f67333e0880c7f364f1d241f

      VS17 x86 Non Thread Safe (2025-Nov-04 17:43:14)

      • Zip [28.62MB]
        sha256: 4ebf094fde0e766708c929d06cb2cc5e24c4b117499efbf9654bdfc0d5be9e4b
      • Debug Pack [37.2MB]
        sha256: f142195d21c96476a5ae978776f8de2ae138b5d7e4667169b84971b3cdb9801d
      • Development package (SDK to develop PHP extensions) [1.36MB]
        sha256: b7ca6f76ef8fe649869aa349da5cae7fd7c457f30797fd3fd3721b51d806f558

      VS17 x86 Thread Safe (2025-Nov-04 17:41:00)

      • Zip [28.69MB]
        sha256: 059c3d629e13701dc84184a8f9bc1bdb397971523bfb3c85f2d18ae4cc8439a3
      • Debug Pack [37.26MB]
        sha256: fcdf22c8f4a38987c1bb194cbba155dec3a44fcd9029a6eada123adf44da863d
      • Development package (SDK to develop PHP extensions) [1.36MB]
        sha256: 9ec706c1fac323f9053fec9b510b7d2cfb0087252962283ab4d1b5f265fa40ff

      PHP 8.3 (8.3.28RC1)

      Download source code [27.65MB]

      Download tests package (phpt) [16.68MB]

      VS16 x64 Non Thread Safe (2025-Nov-04 16:01:28)

      • Zip [30.72MB]
        sha256: a62fcfbcfa4a2452042095c527755e1d43175f1d0efe1e2b9a8549cee8f74203
      • Debug Pack [30.16MB]
        sha256: d8d7a2586bd6ed3f54730065b990c7d1070db70e141b06a4b974ca0da4139a35
      • Development package (SDK to develop PHP extensions) [1.26MB]
        sha256: b8afde13b874f0f21e0f414462588560b88db1535e53707311615eba52915f12

      VS16 x64 Thread Safe (2025-Nov-04 16:01:10)

      • Zip [30.86MB]
        sha256: f9f774ed94f8efef99f4484c8df40e45a7b79bf69fdff5480dabae74353927a3
      • Debug Pack [30.32MB]
        sha256: 0249e205aad95a7855d2502827ad8d74ba0dddbadf1f833104a14ca513732780
      • Development package (SDK to develop PHP extensions) [1.26MB]
        sha256: cff1b09de3cb14061c90169931007a661a28120d326db9bd93f85c2679f76bb2

      VS16 x86 Non Thread Safe (2025-Nov-04 16:01:34)

      • Zip [27.59MB]
        sha256: bf1f65fce98f7b50cdb85b97789db19c775c606bf091f34ee6a75beffe5bd766
      • Debug Pack [30.28MB]
        sha256: 2cb6b06749124c4a538c29f678c75179e02063dafe9ded25bd7530573ee4e73e
      • Development package (SDK to develop PHP extensions) [1.26MB]
        sha256: 4c2b75bb90e57a4eb84626da93620d44db5077d7fdd59cd5aa66309c45aa1ec3

      VS16 x86 Thread Safe (2025-Nov-04 16:05:14)

      • Zip [27.57MB]
        sha256: e0d65df13bc847a02f669999dce671cdf69e4e44e0e0c21a43f1049849410546
      • Debug Pack [30.03MB]
        sha256: 3108bc1d3bef935bdcdc4e1507335d9e38afc8740fbcaac8c9a204af41e6b752
      • Development package (SDK to develop PHP extensions) [1.26MB]
        sha256: 6d347ccf875a418756916f720fe803768470c303c76df7856b0ddeb59bab7d11

      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:
      • Debug Pack [25.48MB]
        sha256:
      • Development package (SDK to develop PHP extensions) [1.24MB]
        sha256:

      VS16 x64 Thread Safe (2024-Dec-03 14:58:44)

      • Zip [30.44MB]
        sha256:
      • Debug Pack [25.48MB]
        sha256:
      • Development package (SDK to develop PHP extensions) [1.24MB]
        sha256:

      VS16 x86 Non Thread Safe (2024-Dec-03 14:54:04)

      • Zip [27.22MB]
        sha256:
      • Debug Pack [25.61MB]
        sha256:
      • Development package (SDK to develop PHP extensions) [1.24MB]
        sha256:

      VS16 x86 Thread Safe (2024-Dec-03 14:52:16)

      • Zip [27.2MB]
        sha256:
      • Debug Pack [25.22MB]
        sha256:
      • Development package (SDK to develop PHP extensions) [1.24MB]
        sha256:

      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.