• 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.3 (8.3.1)

      Download source code [26.96MB]

      Download tests package (phpt) [16.22MB]

      VS16 x64 Non Thread Safe (2023-Dec-20 14:25:40)

      • Zip [30.64MB]
        sha256: 76f22325fd13657027f8013c4b51e2a3f5e0eed23d8c43713cfd7b682a799054
      • Debug Pack [25.61MB]
        sha256: a77f353e7e30e7486131d57577e1c6734693c0744a4071de224c4fd173e74142
      • Development package (SDK to develop PHP extensions) [1.25MB]
        sha256: 59d9f090b9b4e8c71437e1cbf339c9eaa697f80f41fe3a55ba7069b3a4fc99b1

      VS16 x64 Thread Safe (2023-Dec-20 14:24:44)

      • Zip [30.78MB]
        sha256: 15a2dff675e9b52b7f7ae7ad894bafa68316fa438a01d06e4f86c93e2e16bdeb
      • Debug Pack [25.6MB]
        sha256: e5b7389f689040e3f23d49f51d2cec39c0f618b056deab60d503f46e9c835063
      • Development package (SDK to develop PHP extensions) [1.26MB]
        sha256: d6cdc2af4b26ab37bdc05fed0a1c192d7feb8662ca47e3a4af9269274ebe3173

      VS16 x86 Non Thread Safe (2023-Dec-20 14:25:22)

      • Zip [27.52MB]
        sha256: 04d05c2e92defb8b52f112610704f025c91cbe64dd50ddac83c89a1cfddf9008
      • Debug Pack [25.81MB]
        sha256: 08ff38c507fc4a7a87692a4f70af9f0d1ef02a36229af711d2f74a3479f2c2ff
      • Development package (SDK to develop PHP extensions) [1.26MB]
        sha256: baecfc558e38c2b2989a8aabd4aa61e44759cbe55b56517e377f62ac4e9cf6b1

      VS16 x86 Thread Safe (2023-Dec-20 14:23:08)

      • Zip [27.49MB]
        sha256: b61d1f9db95b014c411db676527bd46fdf6d51be91a05fa32496c24c88e1d39f
      • Debug Pack [25.35MB]
        sha256: 34f61c1c6312341699c77aa33e92f263d90f66888e5a31686d23938502be50eb
      • Development package (SDK to develop PHP extensions) [1.26MB]
        sha256: 1e59d840f24666300632195b2834b93720346ed3e255a9db3942cb6f12e2a865

      PHP 8.2 (8.2.14)

      Download source code [26.23MB]

      Download tests package (phpt) [15.67MB]

      VS16 x64 Non Thread Safe (2023-Dec-20 10:37:50)

      • Zip [30.28MB]
        sha256: bbd429d7bdcc34badeb2137adc9eef693c482fa4dfc25dcef6826bef052d4ee2
      • Debug Pack [25.5MB]
        sha256: 8a015750104539d365294094f7c5b34116cb18500d01d539701c15f3b89a1aa8
      • Development package (SDK to develop PHP extensions) [1.24MB]
        sha256: b38ff522478f0f7bf45b65d55c40e918d3989167e3650a49503d22b6769354ed

      VS16 x64 Thread Safe (2023-Dec-20 10:40:24)

      • Zip [30.39MB]
        sha256: a2b9917a31631ac8495ace1531858caca3db34be00f133498ff74dcc2eb5b11b
      • Debug Pack [25.42MB]
        sha256: 377e52c022e244e97150fa4c52c12563b5e2e13edae9258e9dc2ab1b89727811
      • Development package (SDK to develop PHP extensions) [1.24MB]
        sha256: 3ff764545a32383518f59e4c58a027ef32cb4e33659038a061c1d73265eaf61b

      VS16 x86 Non Thread Safe (2023-Dec-20 10:36:04)

      • Zip [27.18MB]
        sha256: 7ce28b2d3ce4b00da0b45fe57bb2ade4961dab32cb81484d9659734470a74463
      • Debug Pack [25.49MB]
        sha256: 87090cfa8afd90016e203aea9d3e7e0babfd68384ad2e9caeccf8189bc86f9bb
      • Development package (SDK to develop PHP extensions) [1.24MB]
        sha256: 536f4fc5a93eb2be7c0dff3a3c0f84d7b0e03d1f767f36df3b8b196094c72374

      VS16 x86 Thread Safe (2023-Dec-20 10:34:40)

      • Zip [27.16MB]
        sha256: 55cee24674b19ebfc03b57ffab008ff6df48e6d90bb74162e94c38d9bb4d1503
      • Debug Pack [25.2MB]
        sha256: 70f1c5df2ecb4a2095e5ed9b42483ba80ba8872a34283031d68bb28ea472c97a
      • Development package (SDK to develop PHP extensions) [1.24MB]
        sha256: 8dee69a747a1724c0de8f0d6d9120c70ec6b61f5dec5c0908803339cf3ce513d

      PHP 8.1 (8.1.27)

      Download source code [25.67MB]

      Download tests package (phpt) [15.37MB]

      VS16 x64 Non Thread Safe (2023-Dec-19 23:44:54)

      • Zip [29.33MB]
        sha256: beda45964e30568f4f114c394c0bff7b7b16354b7be75ddfec506e0866c736fc
      • Debug Pack [24.94MB]
        sha256: 2e36526e2508a1c40480d4ac03a55078d3e63ada2004efffa16c91317d789e4e
      • Development package (SDK to develop PHP extensions) [1.21MB]
        sha256: 869189fa3a4987b7b55dec44cd39a49d7846444bf18c3c5f967d8fcfd925fe3d

      VS16 x64 Thread Safe (2023-Dec-19 23:49:00)

      • Zip [29.43MB]
        sha256: 92096ceee0812c39d0366250538fd64d463306aba62ba2554dd24d8e99b1ae63
      • Debug Pack [24.91MB]
        sha256: 20e8d445c20a1c0573d3faa2f41d9982611437ca5aad9a4e4b6ed66464a15630
      • Development package (SDK to develop PHP extensions) [1.21MB]
        sha256: 3344e9454066ffc49ab128c2cf6e705e9e9289fa55505848e2d0b25d44526dee

      VS16 x86 Non Thread Safe (2023-Dec-19 22:37:22)

      • Zip [26.38MB]
        sha256: 909c0510be26922c484853cf9060ec6db19a5d2082718b2eb0c3d91432c7d381
      • Debug Pack [24.95MB]
        sha256: ec4dc286eae898ba08aab1486969398dad9b56f82e4177caa17e1ca884befbc0
      • Development package (SDK to develop PHP extensions) [1.21MB]
        sha256: 9d1d7c2b833064f76a594a541266f2a2c99b3eada075485a35fedc9e0bceaa3a

      VS16 x86 Thread Safe (2023-Dec-19 22:35:40)

      • Zip [26.35MB]
        sha256: 571fe1caf27b25289d86149e85c953c6a77e25dd65524a871be53ed5e18f68da
      • Debug Pack [24.51MB]
        sha256: 697e90942badfbd204a46cde9191dc1b6ae317cabd12b218a3b5377012818fdb
      • Development package (SDK to develop PHP extensions) [1.21MB]
        sha256: e250c5c14701710b9cb1fc759aa3009cad7852674b509754a95a6c772ce3dfae

      PHP 8.0 (8.0.30)

      Download source code [23.48MB]

      Download tests package (phpt) [13.56MB]

      VS16 x64 Non Thread Safe (2023-Sep-01 18:07:28)

      • Zip [25.53MB]
        sha256: dfb70498ffa2c617f2f655a155564697e3c9cca41709938fd1a5997d1d5b0785
      • Debug Pack [23.21MB]
        sha256: 6d54cc8d92a65c8a6bdd61591badd6a15c921271245402691591500230416aae
      • Development package (SDK to develop PHP extensions) [1.16MB]
        sha256: 85e9eafbdf7a18acb646eaa0abee33204151297fba95392976f38c49c0a91524

      VS16 x64 Thread Safe (2023-Sep-01 14:57:52)

      • Zip [25.63MB]
        sha256: 8697972b5f704885e3444422ede2b5c25d025f614ea96dc67de74dc582471562
      • Debug Pack [23.23MB]
        sha256: 8d872df1ff623b64b5152451c2e86de58c9aebf2131db7cee6496b1527027e73
      • Development package (SDK to develop PHP extensions) [1.16MB]
        sha256: d15960def77f340b868767840fc5406b5a86822e634df7e96c130f91bc28499a

      VS16 x86 Non Thread Safe (2023-Sep-01 14:38:10)

      • Zip [23.65MB]
        sha256: b649889ac73add91c02ec7f6fdb9182f148cfa3181761e32a1be02a3b1d85100
      • Debug Pack [23.86MB]
        sha256: bdc62ed306636b42857a2c6fb9685663a389b0a83c88a1cf6c19b201444ff19b
      • Development package (SDK to develop PHP extensions) [1.16MB]
        sha256: a7dba1b187b06371a1f6e4f2eeddf6c938c286ce6eb70ee52393eadb2d8c9277

      VS16 x86 Thread Safe (2023-Sep-01 14:36:42)

      • Zip [23.64MB]
        sha256: 8dec05f39e6618ee20e252b180d69f8cd0162a3dd2545321593d8f4f44f4af52
      • Debug Pack [23.52MB]
        sha256: 3de68c50c6dc674993860cd6a05f56b20e0c11e909af5c71ffcb9f48010a120b
      • Development package (SDK to develop PHP extensions) [1.16MB]
        sha256: d84e35170de73cf5e0240b81fb38bb1af461b508e7f1ec0aec4686351249b672

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