update page now

Downloads & Installation Instructions

I want to use PHP for .
I work with , and use

Did you find a mistake? Didn't find what you were looking for? Please submit an issue.

Instructions

Architecture

It is recommended to use x64 builds of PHP as almost all Windows installations currently support x64.

Thread Safety

NTS builds are for single-threaded use cases, typically PHP running via FastCGI or on the CLI. TS builds support multithreaded SAPIs and are intended for PHP loaded as a web server module. So, if you want to use PHP as FastCGI with IIS, use the Non-Thread Safe (NTS) builds of PHP, or if you want to use the Apache HTTP Server, use the Thread Safe (TS) builds of PHP.

Visual Studio Versions

The builds below are built using Visual Studio 2019 (VS16) or Visual Studio 2022 (VS17) compiler. They require the Visual C++ Redistributable for Visual Studio 2015-2022 x64 or x86 installed.

PHP 8.5 (8.5.4)

Download source code 31.73MB

Download tests package (phpt) 18.05MB

VS17 x64 Non Thread Safe 2026-Mar-10 23:37:22 UTC

Zip 33.36MB
sha256: 42ac025dbcbd0692d8cf873590653534c5e6b96fedc0a51adb9db6d8a95a977a

Debug Pack 38.32MB
sha256: 24003710e99a9ab92a157190ff45e6fa15dafd608ac0ea42e2511f0aacd989a5

Development package (SDK to develop PHP extensions) 1.64MB
sha256: 8680c6b7525f0e27446bcaa5be5d28ddcc25e668e0a7ca8fef68b2739e772810

VS17 x64 Thread Safe 2026-Mar-10 23:37:20 UTC

Zip 33.49MB
sha256: 4fdf52526a892aaa9c99a4f32ad4b4e18c400134b4a414941f97121a0925d8a3

Debug Pack 38.42MB
sha256: 9df2029d3698a99334584cd2b4a6aaafa9e66da3cf370e4ec4af85dd7d6337af

Development package (SDK to develop PHP extensions) 1.64MB
sha256: 724017412573e7e3a7a06049680bf8b9c353bf1090f0f015859d0ef9edfeab35

VS17 x86 Non Thread Safe 2026-Mar-10 23:37:18 UTC

Zip 29.8MB
sha256: bf22aa14accdfd92ab701a9e22c0a0300e515d1a0f936c652cb2efcf29ff4d65

Debug Pack 38.96MB
sha256: d08554ccdb3ad8ca5b38dfcf7fd42e9c238b361c91a0c9de36fd213fd5b57413

Development package (SDK to develop PHP extensions) 1.64MB
sha256: 4bd2f878454943b2fee9114d8c05e3beaa2ed5209e973e8416d69fda7b2be66a

VS17 x86 Thread Safe 2026-Mar-10 23:37:20 UTC

Zip 29.9MB
sha256: 760557d90e12bdb8fd67ddf43f318efb10082c4624ca0e6345fa86974bbdf444

Debug Pack 39.07MB
sha256: 562cf5cef23600752fbce96aeb79201c5e2969f1a70ac578ae38a7b56dcf986f

Development package (SDK to develop PHP extensions) 1.64MB
sha256: fcdf8e906858cc211f176b260a41d66dad5ce3c40e7daa6d04703f4981bf6d30

To Top