PHP: Hypertext Preprocessor
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?
If you are using PHP as FastCGI with IIS you should use the Non-Thread Safe (NTS) versions of PHP.
Please use the Apache builds provided by Apache Lounge. They provide VC11, VC14 and VC15 builds of Apache for x86 and x64. We use their binaries to build the Apache SAPIs.
If you are using PHP as module with Apache builds from apache.org (not recommended) you need to use the older VC6 versions of PHP compiled with the legacy Visual Studio 6 compiler. Do NOT use VC11+ versions of PHP with the apache.org binaries.
With Apache you have to use the Thread Safe (TS) versions of PHP.
VC11, VC14 & VC15
More recent versions of PHP are built with VC11, VC14 or VC15 (Visual Studio 2012, 2015 or 2017 compiler respectively) and include improvements in performance and stability.
- The VC11 builds require to have the Visual C++ Redistributable for Visual Studio 2012 x86 or x64 installed
- The VC14 builds require to have the Visual C++ Redistributable for Visual Studio 2015 x86 or x64 installed
- The VC15 builds require to have the Visual C++ Redistributable for Visual Studio 2017 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.
amd64 (x86_64) Builds
The x64 builds of PHP 5 for Windows are experimental, and do not provide 64-bit integer or large file support.
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 mulibyte path
PHP 7.1+ supports long and UTF-8 paths. See the manual for details.
Past releases are available from our archives, older versions not found there can be found at the Museum.
Binaries and sources Releases
7.2 has no release.
PHP 7.1 (7.1.11)
VC14 x86 Non Thread Safe (2017-Oct-26 00:48:53)
sha256: 4fda5b50c9ff0d99f0b5664ac85a3ac0fa75769ba40c67bf220fe2e5676bbece
VC14 x86 Thread Safe (2017-Oct-26 00:49:25)
sha256: 8217a64962a609ccdfd4a4d56ec3b3d37fecfa2aa3e74dc15f8ccf6704e6784b
VC14 x64 Non Thread Safe (2017-Oct-26 00:48:54)
sha256: 3a1b74b6c13c6f773387da50f90e2c79706153d7af4641c00ac48a29473d4d94
VC14 x64 Thread Safe (2017-Oct-26 00:49:10)
sha256: 2778b84b48ce3008672995a35c1d24b34ff515b06b93198f56648e23fd289013
PHP 7.0 (7.0.25)
VC14 x86 Non Thread Safe (2017-Oct-25 00:03:38)
sha256: 116f7e20ac85180f565dd275216cddcb4f6bad47e610015f0e63b4e7db0b8bf9
VC14 x86 Thread Safe (2017-Oct-25 00:03:42)
sha256: f29fe46421c5661019cccd9c3c3bf3940a2c01f79b73685b6992e51779303134
VC14 x64 Non Thread Safe (2017-Oct-25 00:03:47)
sha256: 77dcc9606f49278fab5eea6edffb4cdda4f28c6158b66dcff99188ee56eb3a3f
VC14 x64 Thread Safe (2017-Oct-25 00:03:42)
sha256: 0c3e29ca3278fad5648575ad2d56e4f2cc4613ec4246a5d7282e042a0e18e53a
PHP 5.6 (5.6.32)
VC11 x86 Non Thread Safe (2017-Oct-26 17:45:43)
sha256: 1615c9953bd9679de90fb97ea2b343d8db957863944aed9106ff320d3dcfe1d9
VC11 x86 Thread Safe (2017-Oct-26 17:45:42)
sha256: 2a5937b88c66d0588d8cd286e312b98fcddc88f542d2169383761c6125a78544
VC11 x64 Non Thread Safe (2017-Oct-26 17:45:41)
sha256: da4c7da2aa5e0ea3a0ef1fe7a0db0223ad35fd2bb0b87eff7ec47ce77f778d07
VC11 x64 Thread Safe (2017-Oct-26 17:45:43)
sha256: dbbec8581f9222e5db266aa3f239e858e2314744d866964a09c7f4dcc3a021c5
Комментариев нет:
Отправить комментарий