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

      The PECL extension release and snapshot build directories are browsable directly.

      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.

      VC15 & VS16

      More recent versions of PHP are built with VC15 or VS16 (Visual Studio 2017 or 2019 compiler respectively) and include improvements in performance and stability.

      - The VC15 and VS16 builds require to have the Visual C++ Redistributable for Visual Studio 2015-2019 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.2 (8.2.1)

      Download source code [25.86MB]

      Download tests package (phpt) [15.41MB]

      VS16 x64 Non Thread Safe (2023-Jan-04 00:15:10)

      • Zip [30.21MB]
        sha256: acbc965681d2f77d3d23958b42fbe52f6aca0c2a3cc9060100beee4458fc7b86
      • Debug Pack [24.49MB]
        sha256: d6c8d033058b8de74ee645e01eef01a83a5f94b19e712f6220cd558012095fb2
      • Development package (SDK to develop PHP extensions) [1.23MB]
        sha256: c5e9e34d8fa5da59dcd56b63dedf481e81c1d5ece3887402561dd69c7c963072

      VS16 x64 Thread Safe (2023-Jan-04 00:07:02)

      • Zip [30.31MB]
        sha256: 2edeb82ebcfab64a47c8db78074d8029232d3ce37da053c889979f1b337b4d0c
      • Debug Pack [24.5MB]
        sha256: 35479dc6d40b41c76e55287861213fe6ec5a7c9783b6b7f06843ff82e9bb018a
      • Development package (SDK to develop PHP extensions) [1.23MB]
        sha256: 10e91911df8a50e0f4ce1fb498ea1a72d4ebf5ebdc48b32c90688966453708ac

      VS16 x86 Non Thread Safe (2023-Jan-03 23:59:58)

      • Zip [27.12MB]
        sha256: 7ca39090c6caea440cccbbe6fea59e8e8f3c0ef72dc2feaadb2974aa528821f3
      • Debug Pack [25.1MB]
        sha256: 17fc9022fcebc7d169c5e9bc6f8c150aa4497fd662b0fb47c8a078f6e1089f9a
      • Development package (SDK to develop PHP extensions) [1.23MB]
        sha256: 2e9ab7fd5a4fecf51de791a4db949f37b210ca69c02195e481c86c9550b3181a

      VS16 x86 Thread Safe (2023-Jan-04 00:07:28)

      • Zip [27.09MB]
        sha256: da302f3b1c174365dbfc48740c21a713507286e515f404ea22325410c9d06559
      • Debug Pack [24.73MB]
        sha256: a84a0da69a0902ca0f033f25a48a0e34fd7d035f688cb37db1fadfbef8138bfe
      • Development package (SDK to develop PHP extensions) [1.23MB]
        sha256: abd07ac5c294fef4587f0e4613d69b544e13b14a982da0cf88784f0c704f978c

      PHP 8.1 (8.1.14)

      Download source code [25.39MB]

      Download tests package (phpt) [15.17MB]

      VS16 x64 Non Thread Safe (2023-Jan-04 13:06:00)

      • Zip [29.26MB]
        sha256: e7685c70580740fea081659a51e3daebe26c388206b92f2dc3430fdfde6db98e
      • Debug Pack [23.84MB]
        sha256: c524ab537528360f25b9acb6870b68daf3d952d2fd97e5d5393935f5cae28c70
      • Development package (SDK to develop PHP extensions) [1.21MB]
        sha256: 6897b72f3288880924947b4f66721b9f5a5b4751776385449b5557d7e3ab4948

      VS16 x64 Thread Safe (2023-Jan-04 12:55:48)

      • Zip [29.36MB]
        sha256: 3fd1970c3b2112572e0249c5e4645910cad382884a755540f97d198ebe217b59
      • Debug Pack [23.85MB]
        sha256: 8d5acb0dd03af2c00ad4af67904084d06d5700b4eb54d34db75888bfbfdc399c
      • Development package (SDK to develop PHP extensions) [1.21MB]
        sha256: 99109d44d040e22bf4774d2ada2c0e532fe4c4b922d05fa99110641467a678d9

      VS16 x86 Non Thread Safe (2023-Jan-04 12:59:50)

      • Zip [26.31MB]
        sha256: 77e733ce3159c2313e7159655397ee2248587d16138282bcfd8b012c53099880
      • Debug Pack [24.4MB]
        sha256: 649cc95516f34892e425b7b49b49bd1a0631731d30f8bd87e51166445d015d8b
      • Development package (SDK to develop PHP extensions) [1.21MB]
        sha256: 152d0d7c3f8e5f16f1b4f3871c477660a286102fd6177fec2796ecc7bde8bffe

      VS16 x86 Thread Safe (2023-Jan-04 12:50:02)

      • Zip [26.29MB]
        sha256: bb6d8f0ac16273c4188d966c685195207ab51e54652e43c86ea452d384765c8a
      • Debug Pack [24.05MB]
        sha256: b213da0c9175cfd083876b9ae85f46edfe39ecefe28c42335a6594aed14e62f8
      • Development package (SDK to develop PHP extensions) [1.21MB]
        sha256: 74809ff3d86f790a5e88fd4a4492a90818999ca550a546ffecbf47375d613d93

      PHP 8.0 (8.0.27)

      Download source code [23.47MB]

      Download tests package (phpt) [13.55MB]

      VS16 x64 Non Thread Safe (2023-Jan-03 17:44:14)

      • Zip [25.52MB]
        sha256: 1449c94819fc2d7c58b42e8592307282faaa4eec718268beb82d9524e651adad
      • Debug Pack [23.21MB]
        sha256: da9cf0723c567ef54d2db87f1d74bc4372a755f211c158a4286b601dea1dfca9
      • Development package (SDK to develop PHP extensions) [1.16MB]
        sha256: bfa1914f3adc47297c658610394dfdce26d70ef33ee791e136cc0a16650d7c89

      VS16 x64 Thread Safe (2023-Jan-03 17:41:52)

      • Zip [25.63MB]
        sha256: 54d6cc64856268916f7a3ddaae7d636c9f54dd11b0baf083218baf102fe153fa
      • Debug Pack [23.22MB]
        sha256: e61ee5b4bf96c8fe972d80d1d70def1a34d9df253f04ee1089d2fa6643d6192d
      • Development package (SDK to develop PHP extensions) [1.16MB]
        sha256: 661c83f05588ebdb754ad2ab5b8f11ba57934fd318425d3d6ef8a3abaff1ca1b

      VS16 x86 Non Thread Safe (2023-Jan-03 17:57:10)

      • Zip [23.65MB]
        sha256: f997a883eda473724ca939d929369dd523b887357f60dac52a85f2e83d2e821a
      • Debug Pack [23.86MB]
        sha256: f07d9abf7889bf50f8e3ecb15985c0d3c7af0b5843f52aeff57e8e60bdecad52
      • Development package (SDK to develop PHP extensions) [1.16MB]
        sha256: bb82627f57c5fc3583b9a9d256bea315723c21470ce8307e249902c6e3aa35ca

      VS16 x86 Thread Safe (2023-Jan-03 17:35:46)

      • Zip [23.64MB]
        sha256: c8163879e3e93c87afd63ad287ed2543503abc31be5280122616688146082d54
      • Debug Pack [23.52MB]
        sha256: 3dd2171285213c57ebae007e3e9b219a320f55e87234de037187dac3345a7f83
      • Development package (SDK to develop PHP extensions) [1.16MB]
        sha256: ae5b51fc67cd7a70800dac23126f95d10247fadcc554e2d2609aef833e88e462

      PHP 7.4 (7.4.33)

      Download source code [22.85MB]

      Download tests package (phpt) [13.54MB]

      VC15 x64 Non Thread Safe (2022-Nov-02 21:46:55)

      • Zip [24.92MB]
        sha256: 14ae3250d4447c8ccfc4c45a70d90adfbcd61e728d85f0be56a7ddf8f9c8aace
      • Debug Pack [22MB]
        sha256: 922f3338102601736c465b9815a254e0cadcd873d963c17671ace86b135b54b0
      • Development package (SDK to develop PHP extensions) [1.08MB]
        sha256: 70bd4e0770d36c6470ce159c3eb6425226de00248ed5eb63476c43705e6f4b7a

      VC15 x64 Thread Safe (2022-Nov-02 21:47:05)

      • Zip [25.02MB]
        sha256: cdbb85b45f38f282f05764ca08648b5f92db99c75b2fb3848eb4a559f6553b48
      • Debug Pack [22MB]
        sha256: 4d6f92447195f6bf70ed214c65f6ca0f9b299e0af109de56b8d284f66d287703
      • Development package (SDK to develop PHP extensions) [1.08MB]
        sha256: e7a2b5770be98f0d40da8be9d1c6b58738f1bad66832dd0b98e7a7d1231376bd

      VC15 x86 Non Thread Safe (2022-Nov-02 21:46:54)

      • Zip [23.2MB]
        sha256: 3719efc430c3b82cf809ff1b4bb7d720e388f793b1e1857e4d892c62fa950b68
      • Debug Pack [22.93MB]
        sha256: ba5b7833916dc21fa61e0eae8fae6a396c631b3c9249920e554905821442b37d
      • Development package (SDK to develop PHP extensions) [1.08MB]
        sha256: 7c4eeecdb1fe4ac3df66eb4851930defea1e773a3174b7e7a33223beb570c627

      VC15 x86 Thread Safe (2022-Nov-02 21:47:15)

      • Zip [23.18MB]
        sha256: 6adcf02c02634f258f6b6b2bb666f22916c9bd986db2ccae05acb9868a35f847
      • Debug Pack [22.6MB]
        sha256: fee55643a1ca1b2111649e2abd10ca29776f48d824993c62153528e0574d8fa1
      • Development package (SDK to develop PHP extensions) [1.08MB]
        sha256: e5ef2f8559be689dca4134d84a27368bc90829b3a3e9861b77733850ac1378ec

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