Downloads & Installation Instructions

I work with , and use

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.1 (8.1.34)

Download source code 25.08MB

Download tests package (phpt) 15.44MB

VS16 x64 Non Thread Safe 2025-Dec-16 19:03:38 UTC

Zip 29.39MB
9cfe246cb144076c16f5913a3ef88a474c3dd7e60f0f0c8bb95faf68674016cc

Debug Pack 25.12MB
272a670b62d0e89075cdad60ab5a51e7364e67edc7435166090dde80a7b924a7

Development package (SDK to develop PHP extensions) 1.21MB
d5981b1336b77de96461c0a7b5a54dda8fb7aed03df29a17c634f36219eeede4

VS16 x64 Thread Safe 2025-Dec-16 19:03:40 UTC

Zip 29.5MB
8e17e0804fe48d3a032c9bef16f0f922996e0b1b237061b7ce94485394db5d1b

Debug Pack 25.02MB
c415eb61eb0efb42963a77f418ca9710662fbcc87fd2788c61618376b600f759

Development package (SDK to develop PHP extensions) 1.21MB
65c01d508cac78f2f317a61f1ead0df14cf79a2233aad70311d44cf980fd8889

VS16 x86 Non Thread Safe 2025-Dec-16 19:03:38 UTC

Zip 26.44MB
925f3b6b098cfc4b324056b8b8b8b870ad11cd22c15c2c29a03067a5eb14dc4c

Debug Pack 25.26MB
d28665d729a1e0ec841d86a3bd23e5402e2d731018bf9d8aa0060e34104d1466

Development package (SDK to develop PHP extensions) 1.21MB
ef93722c8572aa591052a4828b7238849a7e1ba695fd24fa879ed6d1a928e35f

VS16 x86 Thread Safe 2025-Dec-16 19:03:38 UTC

Zip 26.42MB
f81e25dac62f0d32b10d77ddb3d9c2f52da4092608ece1181ab855fc97c2628e

Debug Pack 24.86MB
a3cb86156737b766ef3bebcf3345f13951a43c4754323a5ed71396e074ba002c

Development package (SDK to develop PHP extensions) 1.21MB
9baa859e3eba344bb87df6e98d296a9234e755a443fb8e8375056a7a315d1695

To Top