CARVIEW |
-
-
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:
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.
-
Binaries and sources QA Releases
PHP 8.5 (8.5.0RC2)
Download source code [31.66MB]
Download tests package (phpt) [17.88MB]
VS17 x64 Non Thread Safe (2025-Oct-07 13:42:54)
-
Zip
[32.97MB]
sha256: 2cc00761506a15e03e0dc6422a2aeaad792f90f3fc841c740410d32fda2df35e -
Debug Pack
[37.57MB]
sha256: 44952196c4015969ff92a6a773c976f32db31e3cca7013ca90673b2fe18a21fa -
Development package (SDK to develop PHP extensions)
[1.66MB]
sha256: 1f0a4ec766e2e2f212c02f2b927a4723c3b9e22c3a2314103f011736ec054b67
VS17 x64 Thread Safe (2025-Oct-07 13:46:04)
-
Zip
[33.09MB]
sha256: f8e3eae22cfb790f297521d0b41e765229bd404955346d073fa941d346bc6682 -
Debug Pack
[37.7MB]
sha256: 314dbdd539c040357f6a251089796fc8e347843b3e54fc14625648c4a625f858 -
Development package (SDK to develop PHP extensions)
[1.66MB]
sha256: 07df388b635209dfa8dca842eb9de42fed33fefaa809b0257ed2958c1ef18b5b
VS17 x86 Non Thread Safe (2025-Oct-07 13:45:14)
-
Zip
[29.43MB]
sha256: ca4aeee1c414bd5bed91f1594499493819baf6a736cd45839712978473ca7249 -
Debug Pack
[37.99MB]
sha256: 53fc6f0a39613bd8db5a2a4afa98c3e933d1abbad6146538ae700314fe8c7b08 -
Development package (SDK to develop PHP extensions)
[1.65MB]
sha256: f7cb7df0cbc6e719b5fb986d53030a2e9306ab174d3e0ff3a661797e0252a2aa
VS17 x86 Thread Safe (2025-Oct-07 13:41:28)
-
Zip
[29.52MB]
sha256: a50faa06a1eb48052fb82478782eb8f3ce8b6ad308d8879926123fca5e229f2c -
Debug Pack
[38.1MB]
sha256: 3b51c50a57844f67eb2bb2b6a586fc49577f1d2035999aecd89a92dccf713782 -
Development package (SDK to develop PHP extensions)
[1.66MB]
sha256: 8d7fd568507dd7d9dedc56ee06307733b747965c20df0c234983cad0071bd6ca
PHP 8.4 (8.4.14RC1)
Download source code [29.89MB]
Download tests package (phpt) [17.41MB]
VS17 x64 Non Thread Safe (2025-Oct-07 17:24:02)
-
Zip
[31.95MB]
sha256: 1f31b597c500402cee6bd9e3c94cd52398decdadfec90b7c24d8bd0101700933 -
Debug Pack
[36.86MB]
sha256: 7f594458e1f533b26393409beb2f9e80e826a8fd8207614203ca779e21dc32ed -
Development package (SDK to develop PHP extensions)
[1.36MB]
sha256: 0531b6afcd8c93301a5f8b2f8c336115170ab6856e54f6fa3d40ddad6234b06d
VS17 x64 Thread Safe (2025-Oct-07 17:23:22)
-
Zip
[32.1MB]
sha256: 2dffe33f8b6aac8fc0c8ec02bcd8b1c8a98edf608e022d25c39b5712731ee2df -
Debug Pack
[36.8MB]
sha256: 3f42937c372beae6636d206c827020139b6785dadae0ec23f0de4d9137107aba -
Development package (SDK to develop PHP extensions)
[1.36MB]
sha256: 017617ab8eee890f5b8a71df0e4d30b1a1bd0d8ada649842626abba87ade5b73
VS17 x86 Non Thread Safe (2025-Oct-07 17:23:26)
-
Zip
[28.62MB]
sha256: a3fd483107a272d757d3b8f81005551efd991315d55959cedb9befcb49336036 -
Debug Pack
[37.19MB]
sha256: 81865020fbf0cc4a8a24cd818da094bb2113101ed3de2443cf7b69cd6357e7aa -
Development package (SDK to develop PHP extensions)
[1.36MB]
sha256: 75f9c030f502e094b5f3e938224ca9ce44a0b3615f92f5405141bcc028408207
VS17 x86 Thread Safe (2025-Oct-07 17:23:06)
-
Zip
[28.69MB]
sha256: 9b5858528bbf32374fc29cb1f4798d62f8b6103bc2306e26dbf570b95293fa67 -
Debug Pack
[37.33MB]
sha256: aef9bf94e286a91a68920a072cd930bf02cd5ea44396944cb3842b892b379c5c -
Development package (SDK to develop PHP extensions)
[1.36MB]
sha256: 5ffa9b72557c27bb8536ab94ac455eb4bdbcd7552eae3618c8a99dbdad888381
PHP 8.3 (8.3.27RC1)
Download source code [27.64MB]
Download tests package (phpt) [16.67MB]
VS16 x64 Non Thread Safe (2025-Oct-07 15:41:54)
-
Zip
[30.72MB]
sha256: 471bfdffcf9a884d4fe782aa400d193dcc0eda3930fc893af2abd87e39dec3d7 -
Debug Pack
[30.14MB]
sha256: 32693f92aa7db6d5fe8d273e2c65ff75c21c9926e2a1a8c2d14f5ce1a62dbebe -
Development package (SDK to develop PHP extensions)
[1.26MB]
sha256: 216334fa8d0ef54fa36bf9436419a85a2f5552892aeac400b5ed44af19e5cc78
VS16 x64 Thread Safe (2025-Oct-07 15:43:04)
-
Zip
[30.86MB]
sha256: 728dff9d6b06de539370416665654b6bb268164a8a7d416ef80f91b968056b6a -
Debug Pack
[30.21MB]
sha256: 22b1ce67f2b296658bf58c41e9cbee276e9bcbbf8782015fd73be895d013efe1 -
Development package (SDK to develop PHP extensions)
[1.26MB]
sha256: 7e7ba4622ce185646496ae6cd426c6fc9114f7a534b1112de0abf571d3726647
VS16 x86 Non Thread Safe (2025-Oct-07 15:39:18)
-
Zip
[27.59MB]
sha256: 4fb4c1cba31d69bfe3df441d8f2588eae56d721baa4f3bcca36b0b926524053a -
Debug Pack
[30.26MB]
sha256: 2f90b1e6caf7eb079f66786f5b16cf760cf982e761510db98842dc2b2023e6ae -
Development package (SDK to develop PHP extensions)
[1.26MB]
sha256: 48f9bd0127424304033f7c97c1bb456bb9cf9a3a558e317fb7885a5d9158f236
VS16 x86 Thread Safe (2025-Oct-07 15:40:50)
-
Zip
[27.57MB]
sha256: 74014fa022a1de953d20061c46e79ceeee56b44c4226bd056ff810a8df63b060 -
Debug Pack
[29.93MB]
sha256: 76e1afb6aa09faecb0ec4a788ed6bf8be717794eb60b95518ee877d3f1ede18a -
Development package (SDK to develop PHP extensions)
[1.26MB]
sha256: 4d4f624f8d20c24c978146e3fa6864b8cc88f8ae409c524997835b7d1fb43594
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: 498589d653622d44b0a2b9712f30f1a55e4d2d9c232c31c4ea583aef00a40b12 -
Debug Pack
[25.48MB]
sha256: ad51d621412a626a7541670aa502f829819d3c49fe2339e5f53442af7a2fd916 -
Development package (SDK to develop PHP extensions)
[1.24MB]
sha256: 034e11bf8b0d952408425e1dfc2575904ecf1536748b2dbcb7a262864a853c57
VS16 x64 Thread Safe (2024-Dec-03 14:58:44)
-
Zip
[30.44MB]
sha256: 367f504e79228bfc8f2bf8d98a2d3fb6739fb59d763090ffa87262ca5e7842fe -
Debug Pack
[25.48MB]
sha256: 7cca309bd7788ccb30ab486f87b611b135ff9222d9b28fc3b857527ba89dd9cc -
Development package (SDK to develop PHP extensions)
[1.24MB]
sha256: fa495f40b96ab7bcb7c5241a98e1def12fd21fd840a5962a6cc982ab02081978
VS16 x86 Non Thread Safe (2024-Dec-03 14:54:04)
-
Zip
[27.22MB]
sha256: ac440d1a7a57965569287c27a86c4dae8af7d079cd0a3456916ade6fd01fc164 -
Debug Pack
[25.61MB]
sha256: 89a26fc91cf50677cf1aa858b09a02e5e50eb24dd5ac7eb9d78d24fcec78ce99 -
Development package (SDK to develop PHP extensions)
[1.24MB]
sha256: eb34b00361b4a0e5958dd95729713144a5bf5ae4bd7a5320c4e5dddcde4fad74
VS16 x86 Thread Safe (2024-Dec-03 14:52:16)
-
Zip
[27.2MB]
sha256: e62e6ceca04479309e76e9ee85bc5bcd8009c30b5b29b8de87a92837e384e5d4 -
Debug Pack
[25.22MB]
sha256: e7b90d5d93ecd221158a21ce895acdb8e3818d5e3d55a5324796110f9e615246 -
Development package (SDK to develop PHP extensions)
[1.24MB]
sha256: 705a9ee10b6e209c32f23d717e36d5015497a35c7cace98a4642c0642ac25e3d
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
-
Zip
[32.97MB]
-
-
Copyright © 2001-2025 The PHP Group
All rights reserved.