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

      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 7.4 (7.4.6)

      Download source code [23.23MB]

      Download tests package (phpt) [13.35MB]

      VC15 x64 Non Thread Safe (2020-May-12 15:28:31)

      • Zip [24.82MB]
        sha256: ac2c332ffbd17cec580d999b747f9e1c2ad48af756abc9d1eee36ffbd9702258
      • Debug Pack [21.95MB]
        sha256: 27649530a243f7b05050952affb8df032d84cf7a1da92773922cc08aeecf3119
      • Development package (SDK to develop PHP extensions) [1.08MB]
        sha256: 648de69651d278f0816229d35efc512b7d80ca2985618c69ecc74e35a23a1b31

      VC15 x64 Thread Safe (2020-May-12 15:28:43)

      • Zip [24.93MB]
        sha256: cbbea44af10222c5219df1efc9f6aca5d3fab4ed8a06c2b1d70ee0ecb8e7ab86
      • Debug Pack [21.95MB]
        sha256: f87a9aaa46b9e1a24acdeb7bcba2faea40a98e3206d303ac25f8728c995a31e9
      • Development package (SDK to develop PHP extensions) [1.08MB]
        sha256: d99d19f773ded28704b070570766b162d3d11c27580fa9bcee787d6f86548dea

      VC15 x86 Non Thread Safe (2020-May-12 15:28:32)

      • Zip [23.12MB]
        sha256: 463cda66947d5379c7d8d488d14a747ec2d6a4d74bc73110a730f55ede5cf8a4
      • Debug Pack [22.86MB]
        sha256: 97e956d90ae1b1086f1e49454716f0fce13228f10a80e70ddf09729ef048e018
      • Development package (SDK to develop PHP extensions) [1.08MB]
        sha256: f99355d6ee240fe48166b9a89d27cae8e4b98f5e0bd7836868ec76e2b1e13301

      VC15 x86 Thread Safe (2020-May-12 15:28:51)

      • Zip [23.1MB]
        sha256: 875a5a2c8ea41a8a25b266246f28ac616fdbfecf654d88c919b508302a8ceb34
      • Debug Pack [22.56MB]
        sha256: 516c3a17d3c26e8c686a656c82f28fb37280593cf56d57466ef913b0abfafb38
      • Development package (SDK to develop PHP extensions) [1.08MB]
        sha256: d7b5b30a3108a569b915e07a9b913f7dcc36487e436f8dd1039820ff94267b94

      PHP 7.3 (7.3.18)

      Download source code [27.05MB]

      Download tests package (phpt) [14.26MB]

      VC15 x64 Non Thread Safe (2020-May-12 14:13:58)

      • Zip [24.44MB]
        sha256: 322cf40201245852839ae7d0af2f4f031e9d24380937fe12e48c3562c4537511
      • Debug Pack [23.1MB]
        sha256: 920260821e82344a1ca34b721882fad27aab6d4fbc5af351c5af52477bd929bf
      • Development package (SDK to develop PHP extensions) [1.25MB]
        sha256: 6eb544a800bc46b36298a1a65149bf12dfc754abc19635e165a3505d571315fa

      VC15 x64 Thread Safe (2020-May-12 14:14:09)

      • Zip [24.57MB]
        sha256: f1f720fba690059b49a1c465523d3f2962440732633dfb0f5b82b194c0792d56
      • Debug Pack [23.17MB]
        sha256: 3b9a7cfc77cbee83092b05a9f7dead7507a02265c1f03cb255f428f8199e9b70
      • Development package (SDK to develop PHP extensions) [1.25MB]
        sha256: 02c43e9343e69960dd4586c263d8bacdc4c4b597f1e9509f02be997a80fdb955

      VC15 x86 Non Thread Safe (2020-May-12 14:14:00)

      • Zip [22.81MB]
        sha256: 7735b404f5eff7c1693d17ad54e9e2ab0dc433db8119a143320ac829ad28949f
      • Debug Pack [23.98MB]
        sha256: 94d3d781602d365dd9687b3ac574cc2ed29e5132ffd072639c5c91355ad19279
      • Development package (SDK to develop PHP extensions) [1.25MB]
        sha256: 4fc2d275dff3817ae762493d452e2b0eae141744e22e04006ef94bff8e71f4ea

      VC15 x86 Thread Safe (2020-May-12 14:14:17)

      • Zip [22.87MB]
        sha256: 1411e6d3964878068530a363f6f0461cbb9d40a670bd63f39210df4207865c35
      • Debug Pack [24.03MB]
        sha256: 27ab8b6a1cd22b34e22db3c0e6c7c563804068197a4d9b4a562516ea99e3a9ce
      • Development package (SDK to develop PHP extensions) [1.25MB]
        sha256: 9338c7927f149498c2047bfd5ceb4c085eedf99a2f02610f6ebde0d9157c8a74

      PHP 7.2 (7.2.31)

      Download source code [27.23MB]

      Download tests package (phpt) [14.34MB]

      VC15 x64 Non Thread Safe (2020-May-12 13:40:32)

      • Zip [24.91MB]
        sha256: ce708a45c094aed91c91580038d6d9ff2b5edf632fd5e2bb19eaf95019c970f0
      • Debug Pack [23.16MB]
        sha256: ee7bc1e487a7dfabaa73870c444f106c668fdf577380344e7646b454f84d856e
      • Development package (SDK to develop PHP extensions) [1.24MB]
        sha256: 62dee960be6681bdf5ad610dff518b2380e9dc428d8d2783328158b120eba23a

      VC15 x64 Thread Safe (2020-May-12 13:40:40)

      • Zip [25.05MB]
        sha256: 317456941328902dac54895deeb24a836f1164b51e368eb713aa9051df35647b
      • Debug Pack [23.25MB]
        sha256: 77ecd3ddace8bc67bd7d3d54c4e02935c3ee12bbaf49b463413f4b9b4315d6df
      • Development package (SDK to develop PHP extensions) [1.24MB]
        sha256: 58b0ee514ed568017fbc816e2d9641b8493c9264d7113d4685ae0093579ebcb5

      VC15 x86 Non Thread Safe (2020-May-12 13:40:32)

      • Zip [23.27MB]
        sha256: 093afcfc47ec681fd2665c30f72de92b42175f80acc74481b6bc80e2a50d6d70
      • Debug Pack [24.06MB]
        sha256: b700279d6e905c4c0f1cc8f9acf843632a5cb0e87efd6f1a40ca0b65556586ca
      • Development package (SDK to develop PHP extensions) [1.24MB]
        sha256: 63eeff8d8a72225563814151c8e78889b96522b7b65056c853ec5fa074737585

      VC15 x86 Thread Safe (2020-May-12 13:40:48)

      • Zip [23.34MB]
        sha256: 1e952850b60de20eded9b8369416cd1917f5ddc6ec3f0616e302ce703794e49b
      • Debug Pack [24.17MB]
        sha256: 44868e741901d091eb3d2bf87be8d617572d802f5397e07d0a7026b2b1142191
      • Development package (SDK to develop PHP extensions) [1.24MB]
        sha256: 48cb1a72cc9f1718f7f7bea473bdadb32a5cb9a082454859a2c64cfc610ea7f1

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