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

      Download source code [31.59MB]

      Download tests package (phpt) [18MB]

      VS17 x64 Non Thread Safe (2025-Dec-17 17:15:40)

      • Zip [32.98MB]
        sha256: b80175dc14753e0645b0a2637782c02583aa5d25d487721129501a25796526db
      • Debug Pack [38.04MB]
        sha256: 64bd91861fb63940a35fbcdae2be3c3642002fd58f7980fc93f57c21fbeaaf99
      • Development package (SDK to develop PHP extensions) [1.64MB]
        sha256: c18b81bc03a09be1603e1f66dc6492bb2ca4d27ab81820584a8d306af8552374

      VS17 x64 Thread Safe (2025-Dec-17 17:15:55)

      • Zip [33.1MB]
        sha256: 77fbee57c8159279bc065942d361103b0a3f53c8dfabc182a07433be9eec8dba
      • Debug Pack [37.8MB]
        sha256: b3d77124d1cf80823efaae57f782e40be25b18672583b7a492c73b9cc9f84e7a
      • Development package (SDK to develop PHP extensions) [1.64MB]
        sha256: 7b37d0ea47c5d736dbcbf792a789acc8d6ff3e4b9608d3b6e7d740e6538fb665

      VS17 x86 Non Thread Safe (2025-Dec-17 17:15:47)

      • Zip [29.43MB]
        sha256: de3747b785af34f8978afbadf0dfe81004bfc3c0e4850416dd618c327c5c3a6c
      • Debug Pack [38.35MB]
        sha256: 8e38a9769f5413ad87483f55d84a46f60120259ccb3c70a4bb8f2b8eed0d5d58
      • Development package (SDK to develop PHP extensions) [1.63MB]
        sha256: 614ce935cfcb73faf1957eb68450e73fbd735a1a4f1c6ec54b47024a240d6365

      VS17 x86 Thread Safe (2025-Dec-17 17:16:04)

      • Zip [29.48MB]
        sha256: cfd66a27d32e0ce2f462527f8f29fd2d797c714083c07a32b6147d06a7553d6f
      • Debug Pack [38.36MB]
        sha256: 8e86126d31d75ca63dae63babdab9be471befec4bd5e426b395e6054f15c2c0f
      • Development package (SDK to develop PHP extensions) [1.64MB]
        sha256: 5ef9926b6c16806f52f1a2dcbda644d781baa8fa35726a1c3aae5a613f884526

      PHP 8.4 (8.4.16)

      Download source code [29.78MB]

      Download tests package (phpt) [17.44MB]

      VS17 x64 Non Thread Safe (2025-Dec-17 14:53:56)

      • Zip [31.97MB]
        sha256: af18692bd15bd9a005b6555033b7a20f382b06a849eae190b2e52ea7a13f92d9
      • Debug Pack [37.26MB]
        sha256: 38435470ecb822a621ff649a404ee1874f77c39f7a35cd7fa6e0b32bdc464ead
      • Development package (SDK to develop PHP extensions) [1.35MB]
        sha256: 93db77a9b08fa8bd3f00e2a7a9b998b9898b671dc11158fb3a592f6fd409d76b

      VS17 x64 Thread Safe (2025-Dec-17 14:54:13)

      • Zip [32.12MB]
        sha256: e638541bbf8e1794f57a3c2522b09e6cf8bf33f0c09b86050acd8ffd683e7d6a
      • Debug Pack [37.35MB]
        sha256: e03efc79740df0bc37cfb4972f39768d895afc6895d135f5d8a242f66b4fc9d9
      • Development package (SDK to develop PHP extensions) [1.36MB]
        sha256: 2892e66d08c36b3175a0fb21c8adec008b0339894ae271b6a2e35ae16bdcdb37

      VS17 x86 Non Thread Safe (2025-Dec-17 14:54:05)

      • Zip [28.64MB]
        sha256: fe8d7b4125653f7ee8df4f550c4959d209fbdfc10a72a251a20a1eb44dc4f8aa
      • Debug Pack [37.66MB]
        sha256: 69ab6335e39d8dfc85df3f4d0cc9f047fb4c2ae9c2937b3b8fb5704d60a5712c
      • Development package (SDK to develop PHP extensions) [1.35MB]
        sha256: d99a672a3c448280e99182881360f2ffc960e0bb8ea489e4fb278bdae281373c

      VS17 x86 Thread Safe (2025-Dec-17 14:54:19)

      • Zip [28.7MB]
        sha256: 77630c6cf305eb761989fdc1da430a88b6ec6dc6a6becb39fc7fb1b05047f0cf
      • Debug Pack [37.7MB]
        sha256: d228c0e323034c4c83e1c1fa5320640f5ffd1544bfde25f0605c044bd65d410d
      • Development package (SDK to develop PHP extensions) [1.36MB]
        sha256: 81822fa5b6a2fad9363c2942bc98dd009155700c9fce6acd898dd4c0a24af203

      PHP 8.3 (8.3.29)

      Download source code [27.53MB]

      Download tests package (phpt) [16.7MB]

      VS16 x64 Non Thread Safe (2025-Dec-17 13:50:25)

      • Zip [30.76MB]
        sha256: 20bbc441b4b88c3c94e08bbaa75029c5f8dc8d9cba8a515381722239818e2557
      • Debug Pack [30.39MB]
        sha256: 8b5474f325cd943b244092c770c93de4753d3978c58839f846c7bebb723ab64f
      • Development package (SDK to develop PHP extensions) [1.26MB]
        sha256: 403e3f37e8919dc6a24c7d549222d3adb1722bfb9653805bcadcfc57075e3c08

      VS16 x64 Thread Safe (2025-Dec-17 13:50:40)

      • Zip [30.9MB]
        sha256: d7dc35ae06f39aa16cc74eec19e9c199a70e21294eac458a1c79c12e0e1aacb3
      • Debug Pack [30.36MB]
        sha256: 75ad2f91854220c59dc565ef2329fc0d962a0ca8ce6570c8bf8306cb370fcb20
      • Development package (SDK to develop PHP extensions) [1.26MB]
        sha256: b83238f122a36021210414d041e34d9579b9a183710feb21eb96d29f6ce42ea0

      VS16 x86 Non Thread Safe (2025-Dec-17 13:50:32)

      • Zip [27.62MB]
        sha256: f53521705d6a7ec58932c79ddbbd9ee430b8c7e058fd3874e1a68c6694e535fe
      • Debug Pack [30.48MB]
        sha256: c95f77d44f6dd1182c53bca245a7e09284bdb5a7681373e85c61ce1be604e2aa
      • Development package (SDK to develop PHP extensions) [1.26MB]
        sha256: bee5c271cf86fedeacc59afcbf102d87f670b1eda946445b61264ef57cc2f7d7

      VS16 x86 Thread Safe (2025-Dec-17 13:50:49)

      • Zip [27.6MB]
        sha256: 40cc8fd11cd96e7292528d2a086aeef8db738d1da7d8b1cd8e846d18c13fbcb0
      • Debug Pack [30.14MB]
        sha256: 8c018dfb83a7fe39e82f9c066ff844b8e415d997b7e9034539aa544e94371c78
      • Development package (SDK to develop PHP extensions) [1.26MB]
        sha256: 776b641a8d878e28850cfc640a14c7432427a79002d32486f216e59f3a49c211

      PHP 8.2 (8.2.30)

      Download source code [26.53MB]

      Download tests package (phpt) [15.89MB]

      VS16 x64 Non Thread Safe (2025-Dec-17 12:07:08)

      • Zip [30.38MB]
        sha256: eba6e0a762a7fca8a85f44949fd49d5365acd299225282dc2f05ff3f43ac53cc
      • Debug Pack [25.54MB]
        sha256: 7acd65df10a5d7a52b8c1304be6b76749fc89c528e637d55544671b67af995ae
      • Development package (SDK to develop PHP extensions) [1.24MB]
        sha256: 3065372a080c972e9b2b278f08c4273a989ea6e1053c03de352fb751d47f7f03

      VS16 x64 Thread Safe (2025-Dec-17 12:06:52)

      • Zip [30.49MB]
        sha256: 6ae212e3aa01aea2db597169b60b0fbce46a6d9b75415a48cf8b9166bf67b93b
      • Debug Pack [25.78MB]
        sha256: bdc06e9a98d182e7526d17da5f12f7432e4f98e3cf337b3998b4e15791494000
      • Development package (SDK to develop PHP extensions) [1.24MB]
        sha256: d270d3cecb7cd79a2b62d73bbee5b22a9389d293dedfa66f56d03c817ffceeb3

      VS16 x86 Non Thread Safe (2025-Dec-17 12:07:00)

      • Zip [27.27MB]
        sha256: e1aa54c7a0288b58330587b3a5e6117cefa6d88002b6f3ffae9cd9f153fc7b42
      • Debug Pack [25.83MB]
        sha256: 4fe243447f5fe614636102a39bcb9f03ff4708ee49aca61b3e8c8d422c25c722
      • Development package (SDK to develop PHP extensions) [1.24MB]
        sha256: 12bdf511baa28cfa749dba39b97e5212c4136226ae3af5bab419300cdb1b9c5e

      VS16 x86 Thread Safe (2025-Dec-17 12:06:33)

      • Zip [27.24MB]
        sha256: b1d59e8042c7211bb28d8e1fa4a7c04c30f155818349744b7f5d3accf3ebc2f0
      • Debug Pack [25.56MB]
        sha256: 41ae419950572ebef75d9ac52692f7533dce0971c250aff3d2c9af35054702b2
      • Development package (SDK to develop PHP extensions) [1.24MB]
        sha256: 42c1906cf15dc37cb4452ab44117665400a8a461606c25666e4bbd197d1b0edd

      PHP 8.1 (8.1.34)

      Download source code [25.75MB]

      Download tests package (phpt) [15.44MB]

      VS16 x64 Non Thread Safe (2025-Dec-17 12:58:38)

      • Zip [29.39MB]
        sha256: 77fabd89a2d9116ce7e8314cc1a6c0d111387a8e2f1c2d19452b1cfef1bd1b8f
      • Debug Pack [25.1MB]
        sha256: d8922666506dd0e3d4c59fb276b991f52e3c56387c5249710d0d3bf4776f3167
      • Development package (SDK to develop PHP extensions) [1.21MB]
        sha256: cedd4391b3de5b2d781df2eedbce9b3ce1b02ceed33cb15522e61038d459ab35

      VS16 x64 Thread Safe (2025-Dec-17 12:58:54)

      • Zip [29.49MB]
        sha256: 9bd5c02b510984bbc043c51f23d7da350085b90f0465bd57989269c93c25e70b
      • Debug Pack [25.05MB]
        sha256: cdff23e72b699d778f8c58d0aefde166b7433911a29317c992ede75476d353e3
      • Development package (SDK to develop PHP extensions) [1.21MB]
        sha256: f0aafceccab4c28d1e41d67090242956e347990255f394d9f7542389a63fd847

      VS16 x86 Non Thread Safe (2025-Dec-17 12:58:46)

      • Zip [26.43MB]
        sha256: 7d1a2640f374fe71331e52a20b378a0599825dfd7a6d1edaf860a88ef178da4d
      • Debug Pack [25.21MB]
        sha256: a7dd979cbae87b81d49a7413478afde6658366cbeffcc1d4897d22ee3b9dabc7
      • Development package (SDK to develop PHP extensions) [1.21MB]
        sha256: 70a5e13fa7a99bbb8ae76b47e2c3e69e0ac6e4b77dda80d660fbfcb64136d7ba

      VS16 x86 Thread Safe (2025-Dec-17 12:59:01)

      • Zip [26.41MB]
        sha256: b3527b15a63354c68982a71840200fdfde065526e7c26d439c9a2d1a6d78620c
      • Debug Pack [24.82MB]
        sha256: 73960f18eba5860a3a28f5d2175af102011d5574203c280dbf52a17c1011e666
      • Development package (SDK to develop PHP extensions) [1.21MB]
        sha256: ceb5550901a57da820597e449d366b8a15b19953be2b8bafdb982b513c324402

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