-
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
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. -
PHP 8.2 (8.2.2)
Download source code [25.9MB]
Download tests package (phpt) [15.44MB]
VS16 x64 Non Thread Safe (2023-Jan-31 22:06:06)
-
Zip
[30.21MB]
sha256: b464e94c7022e3df826e001d3837c92542bf89d7e8cacab0ef75835771e77c56 -
Debug Pack
[24.49MB]
sha256: 75a089780e1c4e853bccc079112d6d529a0d290d98ffaf4c7107e2e649382b58 -
Development package (SDK to develop PHP extensions)
[1.23MB]
sha256: 0f0120b72cd650f48eeaa0e5dcc8039d0833a8e32f4ec6b78ac0d49b2f4d0933
VS16 x64 Thread Safe (2023-Jan-31 21:56:02)
-
Zip
[30.32MB]
sha256: 31c2c009a66ccaae5c39b9aea37ff55ae6fa080c7b48317513699b4df2582e14 -
Debug Pack
[24.5MB]
sha256: 1bfd9b4e6b4ac57bcaf515d9183b8e6730796b3dd149f7837bd5b54dc032960b -
Development package (SDK to develop PHP extensions)
[1.23MB]
sha256: 4fb4c958505e8c1578662ead23b3b900fe06f46dabb69e6c884b736cb7e78ddb
VS16 x86 Non Thread Safe (2023-Jan-31 21:47:40)
-
Zip
[27.12MB]
sha256: db7ce99b1fd8ded5bab46f20bad1b8861dd9113c620ac37c7ec6d14375bb449c -
Debug Pack
[25.09MB]
sha256: 434ecf5029bf0f71cdcc7fbb270a91c298312fb5bd011950d778a582a86981a5 -
Development package (SDK to develop PHP extensions)
[1.23MB]
sha256: d13cc4750e952997b77796a658a5dba3a29efbea11346ae9884e9b7bd4d35c6c
VS16 x86 Thread Safe (2023-Jan-31 21:57:38)
-
Zip
[27.1MB]
sha256: d48104994da4f0d56c1d5382da4be11af8a9991872b04f7167a98f7182594a75 -
Debug Pack
[24.73MB]
sha256: bcfbf756b7bbdb5e70b69b4583b4fff7e2561310ba3664e075a44fd1bc7012cb -
Development package (SDK to develop PHP extensions)
[1.23MB]
sha256: 40c31c809078893667230c305871f5f293dcd5e210e1c7e8cf15c05eed910031
PHP 8.1 (8.1.15)
Download source code [25.42MB]
Download tests package (phpt) [15.19MB]
VS16 x64 Non Thread Safe (2023-Feb-01 10:02:39)
-
Zip
[29.26MB]
sha256: fcc6f9195e8083616dd626177f0f3a25f1ca63fc06b075c7fa988d9c19a708e4 -
Debug Pack
[23.85MB]
sha256: 6c87551949755c72702e63c2a1418da8beafda390717dd727f59f3dd3f1a6f1d -
Development package (SDK to develop PHP extensions)
[1.21MB]
sha256: fb0439045cbce3243f9d782506515115980064144609b6cbab0fc795334a12ee
VS16 x64 Thread Safe (2023-Feb-01 00:27:30)
-
Zip
[29.36MB]
sha256: 116b890c0053c28d140d93c699e5c6995944fcc9420ac117f44772b1bb69f9ff -
Debug Pack
[23.85MB]
sha256: d28374f3252a4e124148c4f754127b01c15e9a59c6c08c5c8f0ea196280bcb68 -
Development package (SDK to develop PHP extensions)
[1.21MB]
sha256: 093415a4ed5e46a42cdd8554aef8a168be187b88d31cde0c1f8d06ecd640a58c
VS16 x86 Non Thread Safe (2023-Feb-01 00:34:52)
-
Zip
[26.32MB]
sha256: ff793db8badd3d52651bb3a73f45bae095fef25f064c460805ccbe5bb8659e83 -
Debug Pack
[24.41MB]
sha256: 336a9428dd9c3e796f7078ec29ead01154ae666e23f35f1e7e8033383bb40044 -
Development package (SDK to develop PHP extensions)
[1.21MB]
sha256: 03ec8817ac5318d59a698a5d831e40006f3f6823ae08a0d27e6db4669f6ba465
VS16 x86 Thread Safe (2023-Feb-01 00:34:52)
-
Zip
[26.3MB]
sha256: 000bf25e12c8bafeac2d732f5ea37eff49c50cf12d42ebe3bd95d95028e6086b -
Debug Pack
[24.05MB]
sha256: fa38a832065168a973e5d34cb50ff54933b0232ecfb1a17d4fc4925d379c548b -
Development package (SDK to develop PHP extensions)
[1.21MB]
sha256: bea6610299bf8109cfcc81986975bd63bd3edaf27edb6180a8b4115e10f57d37
PHP 8.0 (8.0.27)
Download source code [23.47MB]
Download tests package (phpt) [13.55MB]
VS16 x64 Non Thread Safe (2023-Jan-03 17:44:14)
-
Zip
[25.52MB]
sha256: 1449c94819fc2d7c58b42e8592307282faaa4eec718268beb82d9524e651adad -
Debug Pack
[23.21MB]
sha256: da9cf0723c567ef54d2db87f1d74bc4372a755f211c158a4286b601dea1dfca9 -
Development package (SDK to develop PHP extensions)
[1.16MB]
sha256: bfa1914f3adc47297c658610394dfdce26d70ef33ee791e136cc0a16650d7c89
VS16 x64 Thread Safe (2023-Jan-03 17:41:52)
-
Zip
[25.63MB]
sha256: 54d6cc64856268916f7a3ddaae7d636c9f54dd11b0baf083218baf102fe153fa -
Debug Pack
[23.22MB]
sha256: e61ee5b4bf96c8fe972d80d1d70def1a34d9df253f04ee1089d2fa6643d6192d -
Development package (SDK to develop PHP extensions)
[1.16MB]
sha256: 661c83f05588ebdb754ad2ab5b8f11ba57934fd318425d3d6ef8a3abaff1ca1b
VS16 x86 Non Thread Safe (2023-Jan-03 17:57:10)
-
Zip
[23.65MB]
sha256: f997a883eda473724ca939d929369dd523b887357f60dac52a85f2e83d2e821a -
Debug Pack
[23.86MB]
sha256: f07d9abf7889bf50f8e3ecb15985c0d3c7af0b5843f52aeff57e8e60bdecad52 -
Development package (SDK to develop PHP extensions)
[1.16MB]
sha256: bb82627f57c5fc3583b9a9d256bea315723c21470ce8307e249902c6e3aa35ca
VS16 x86 Thread Safe (2023-Jan-03 17:35:46)
-
Zip
[23.64MB]
sha256: c8163879e3e93c87afd63ad287ed2543503abc31be5280122616688146082d54 -
Debug Pack
[23.52MB]
sha256: 3dd2171285213c57ebae007e3e9b219a320f55e87234de037187dac3345a7f83 -
Development package (SDK to develop PHP extensions)
[1.16MB]
sha256: ae5b51fc67cd7a70800dac23126f95d10247fadcc554e2d2609aef833e88e462
-
Zip
Current Stable
PHP 8.2.2 (Changelog)
-
php-8.2.2.tar.gz (sig) [19,605Kb] 02 Feb 2023
d82dda50356cebf6b6e14dbb576b14bc8b85f0f4476a787f0f50611f11eb37d2 -
php-8.2.2.tar.bz2 (sig) [15,257Kb] 02 Feb 2023
f5223a5274eda8b40c19e47de0de4678c65d64401ccf710e2464962eb8136804 -
php-8.2.2.tar.xz (sig) [11,657Kb] 02 Feb 2023
bdc4aa38e652bac86039601840bae01c0c3653972eaa6f9f93d5f71953a7ee33 -
Windows downloads
GPG Keys for PHP 8.2
Old Stable
PHP 8.1.15 (Changelog)
-
php-8.1.15.tar.gz (sig) [19,247Kb] 02 Feb 2023
4035236180efac535ff4f22db9ef3195672f31e3e0aa88f89c38ac0715beca3b -
php-8.1.15.tar.bz2 (sig) [15,089Kb] 02 Feb 2023
18da0a94228f4207f8b9e3e23e881f2b74d0d6caefb908bdb5863d4a01035cc6 -
php-8.1.15.tar.xz (sig) [11,537Kb] 02 Feb 2023
cd450fb4ee50488c5bf5f08851f514e5a1cac18c9512234d9e16c3a1d35781a6 -
Windows downloads
GPG Keys for PHP 8.1
Old Stable
PHP 8.0.27 (Changelog)
-
php-8.0.27.tar.gz (sig) [16,083Kb] 05 Jan 2023
fe2376faaf91c28ead89a36e118c177f4a8c9a7280a189b97265da1af1f4d305 -
php-8.0.27.tar.bz2 (sig) [12,886Kb] 05 Jan 2023
5fd882b14377c158c1b55cc6ace91fb8c19b77c596d5831ad124fbbbc902dbc8 -
php-8.0.27.tar.xz (sig) [10,549Kb] 05 Jan 2023
f942cbfe2f7bacbb8039fb79bbec41c76ea779ac5c8157f21e1e0c1b28a5fc3a -
Windows downloads
GPG Keys for PHP 8.0
GPG Keys
The releases are tagged and signed in the PHP Git Repository.
The following official GnuPG keys of the current PHP Release Manager can be used
to verify the tags:
PHP 8.2
pub rsa4096 2021-04-01 [SC] 1198 C011 7593 497A 5EC5 C199 286A F1F9 8974 69DC uid [ultimate] Pierrick Charron <pierrick@php.net> sub rsa4096 2021-04-01 [E] pub rsa4096 2021-04-26 [SC] [expires: 2025-11-24] 39B6 4134 3D8C 104B 2B14 6DC3 F9C3 9DC0 B969 8544 uid [ultimate] Ben Ramsey <ramsey@php.net> sub rsa4096 2021-04-26 [E] [expires: 2025-11-24] pub rsa4096 2021-03-26 [SC] [expires: 2030-03-26] E609 13E4 DF20 9907 D8E3 0D96 659A 97C9 CF2A 795A uid [ultimate] Sergey Panteleev <sergey@php.net> uid [ultimate] Sergey Panteleev <sergey@s-panteleev.ru> uid [ultimate] Sergey Panteleev <sergey@sergeypanteleev.com> sub rsa4096 2021-03-26 [E] [expires: 2025-03-26]
PHP 8.1
pub 2048R/31CBD89E 2016-12-08 Key fingerprint = 5289 95BF EDFB A719 1D46 839E F9BA 0ADA 31CB D89E uid Joe Watkins <krakjoe@php.net> pub rsa4096 2021-04-26 [SC] [expires: 2025-11-24] 39B6 4134 3D8C 104B 2B14 6DC3 F9C3 9DC0 B969 8544 uid [ultimate] Ben Ramsey <ramsey@php.net> sub rsa4096 2021-04-26 [E] [expires: 2025-11-24] pub rsa4096 2021-04-01 [SC] F1F6 9223 8FBC 1666 E5A5 CCD4 199F 9DFE F6FF BAFD uid [ultimate] Patrick Allaert <patrickallaert@php.net> sub rsa4096 2021-04-01 [E]
PHP 8.0
pub 4096R/70D12172 2017-04-14 [expires: 2024-04-21] Key fingerprint = 1729 F839 38DA 44E2 7BA0 F4D3 DBDB 3974 70D1 2172 uid Sara Golemon <pollita@php.net> pub rsa4096 2020-05-09 [SC] [expires: 2024-05-08] BFDD D286 4282 4F81 18EF 7790 9B67 A5C1 2229 118F uid [ultimate] Gabriel Caruso (Release Manager) <carusogabriel@php.net> sub rsa4096 2020-05-09 [E] [expires: 2024-05-08] pub rsa4096 2022-08-30 [SC] [expires: 2024-08-29] 2C16 C765 DBE5 4A08 8130 F1BC 4B9B 5F60 0B55 F3B4 uid [ultimate] Gabriel Caruso <carusogabriel@php.net> sub rsa4096 2022-08-30 [E] [expires: 2024-08-29]
A full list of GPG keys used for current and older releases is also
available.
2/1/2023 10:01 AM <dir> archives
2/1/2023 10:05 AM 13317 cache.info
6/15/2021 12:31 AM <dir> latest
11/2/2022 9:46 PM 26132214 php-7.4.33-nts-Win32-vc15-x64.zip
11/2/2022 9:46 PM 24327462 php-7.4.33-nts-Win32-vc15-x86.zip
11/2/2022 9:47 PM 23957448 php-7.4.33-src.zip
11/2/2022 9:47 PM 26237519 php-7.4.33-Win32-vc15-x64.zip
11/2/2022 9:47 PM 24301774 php-7.4.33-Win32-vc15-x86.zip
1/3/2023 5:44 PM 26762392 php-8.0.27-nts-Win32-vs16-x64.zip
1/3/2023 5:57 PM 24795408 php-8.0.27-nts-Win32-vs16-x86.zip
1/3/2023 5:57 PM 24608802 php-8.0.27-src.zip
1/3/2023 5:41 PM 26871833 php-8.0.27-Win32-vs16-x64.zip
1/3/2023 5:35 PM 24784391 php-8.0.27-Win32-vs16-x86.zip
2/1/2023 10:02 AM 30677928 php-8.1.15-nts-Win32-vs16-x64.zip
2/1/2023 12:34 AM 27597306 php-8.1.15-nts-Win32-vs16-x86.zip
2/1/2023 12:34 AM 26656231 php-8.1.15-src.zip
2/1/2023 12:27 AM 30786738 php-8.1.15-Win32-vs16-x64.zip
2/1/2023 12:34 AM 27573014 php-8.1.15-Win32-vs16-x86.zip
1/31/2023 10:06 PM 31679926 php-8.2.2-nts-Win32-vs16-x64.zip
1/31/2023 9:47 PM 28437263 php-8.2.2-nts-Win32-vs16-x86.zip
1/31/2023 10:06 PM 27152978 php-8.2.2-src.zip
1/31/2023 9:56 PM 31790228 php-8.2.2-Win32-vs16-x64.zip
1/31/2023 9:57 PM 28411464 php-8.2.2-Win32-vs16-x86.zip
11/2/2022 9:47 PM 23065686 php-debug-pack-7.4.33-nts-Win32-vc15-x64.zip
11/2/2022 9:47 PM 24044095 php-debug-pack-7.4.33-nts-Win32-vc15-x86.zip
11/2/2022 9:47 PM 23070148 php-debug-pack-7.4.33-Win32-vc15-x64.zip
11/2/2022 9:47 PM 23696749 php-debug-pack-7.4.33-Win32-vc15-x86.zip
1/3/2023 5:44 PM 24333179 php-debug-pack-8.0.27-nts-Win32-vs16-x64.zip
1/3/2023 5:57 PM 25020678 php-debug-pack-8.0.27-nts-Win32-vs16-x86.zip
1/3/2023 5:42 PM 24347321 php-debug-pack-8.0.27-Win32-vs16-x64.zip
1/3/2023 5:36 PM 24664354 php-debug-pack-8.0.27-Win32-vs16-x86.zip
2/1/2023 12:22 AM 25004919 php-debug-pack-8.1.15-nts-Win32-vs16-x64.zip
2/1/2023 12:35 AM 25591744 php-debug-pack-8.1.15-nts-Win32-vs16-x86.zip
2/1/2023 12:27 AM 25008046 php-debug-pack-8.1.15-Win32-vs16-x64.zip
2/1/2023 12:35 AM 25220666 php-debug-pack-8.1.15-Win32-vs16-x86.zip
1/31/2023 10:06 PM 25674664 php-debug-pack-8.2.2-nts-Win32-vs16-x64.zip
1/31/2023 9:47 PM 26307955 php-debug-pack-8.2.2-nts-Win32-vs16-x86.zip
1/31/2023 9:56 PM 25692021 php-debug-pack-8.2.2-Win32-vs16-x64.zip
1/31/2023 9:57 PM 25933206 php-debug-pack-8.2.2-Win32-vs16-x86.zip
11/2/2022 9:47 PM 1134879 php-devel-pack-7.4.33-nts-Win32-vc15-x64.zip
11/2/2022 9:47 PM 1135207 php-devel-pack-7.4.33-nts-Win32-vc15-x86.zip
11/2/2022 9:47 PM 1136738 php-devel-pack-7.4.33-Win32-vc15-x64.zip
11/2/2022 9:47 PM 1136590 php-devel-pack-7.4.33-Win32-vc15-x86.zip
1/3/2023 5:44 PM 1217532 php-devel-pack-8.0.27-nts-Win32-vs16-x64.zip
1/3/2023 5:57 PM 1217713 php-devel-pack-8.0.27-nts-Win32-vs16-x86.zip
1/3/2023 5:42 PM 1218934 php-devel-pack-8.0.27-Win32-vs16-x64.zip
1/3/2023 5:35 PM 1219424 php-devel-pack-8.0.27-Win32-vs16-x86.zip
2/1/2023 12:22 AM 1267988 php-devel-pack-8.1.15-nts-Win32-vs16-x64.zip
2/1/2023 12:35 AM 1268434 php-devel-pack-8.1.15-nts-Win32-vs16-x86.zip
2/1/2023 12:27 AM 1269794 php-devel-pack-8.1.15-Win32-vs16-x64.zip
2/1/2023 12:35 AM 1270153 php-devel-pack-8.1.15-Win32-vs16-x86.zip
1/31/2023 10:06 PM 1292674 php-devel-pack-8.2.2-nts-Win32-vs16-x64.zip
1/31/2023 9:47 PM 1293043 php-devel-pack-8.2.2-nts-Win32-vs16-x86.zip
1/31/2023 9:56 PM 1294434 php-devel-pack-8.2.2-Win32-vs16-x64.zip
1/31/2023 9:57 PM 1294704 php-devel-pack-8.2.2-Win32-vs16-x86.zip
11/2/2022 9:47 PM 14202360 php-test-pack-7.4.33.zip
1/3/2023 5:57 PM 14213075 php-test-pack-8.0.27.zip
2/1/2023 12:35 AM 15927547 php-test-pack-8.1.15.zip
1/31/2023 10:06 PM 16187724 php-test-pack-8.2.2.zip
2/1/2023 10:05 AM 14019 releases.json
10/1/2020 1:35 PM 6986 sha1sum.txt
2/1/2023 10:00 AM 13088 sha256sum.txt
Each software is released under license type that can be found on program pages as well as on search or category pages. Here are the most common license types:
Freeware
Freeware programs can be downloaded used free of charge and without any time limitations. Freeware products can be used free of charge for both personal and professional (commercial use).
Open Source
Open Source software is software with source code that anyone can inspect, modify or enhance. Programs released under this license can be used at no cost for both personal and commercial purposes. There are many different open source licenses but they all must comply with the Open Source Definition — in brief: the software can be freely used, modified and shared.
Free to Play
This license is commonly used for video games and it allows users to download and play the game for free. Basically, a product is offered Free to Play (Freemium) and the user can decide if he wants to pay the money (Premium) for additional features, services, virtual or physical goods that expand the functionality of the game. In some cases, ads may be show to the users.
Demo
Demo programs have a limited functionality for free, but charge for an advanced set of features or for the removal of advertisements from the program’s interfaces. In some cases, all the functionality is disabled until the license is purchased. Demos are usually not time-limited (like Trial software) but the functionality is limited.
Trial
Trial software allows the user to evaluate the software for a limited amount of time. After that trial period (usually 15 to 90 days) the user can decide whether to buy the software or not. Even though, most trial software products are only time-limited some also have feature limitations.
Paid
Usually commercial software or games are produced for sale or to serve a commercial purpose.
Выберите вариант загрузки:
- скачать с сервера SoftPortal (для Windows 32-bit, zip-файл)
- скачать с сервера SoftPortal (для Windows 64-bit, zip-файл)
- скачать с официального сайта (для Windows 64-bit, zip-файл)
- скачать с официального сайта (для Windows 32-bit, zip-файл)
Широко используемый язык скриптов, специально разработанный для Web-программирования. Среди достоинств PHP присутствует легкая интеграция в HTML, поддержка широкого круга баз данных, поддержку протоколов LDAP, IMAP, SNMP, NNTP, POP3, HTTP, COM и прочее (полное описание…)
Рекомендуем популярное
PhpStorm 2022.1.1
Мощный и навороченный редактор для PHP, HTML и JavaScript с возможностью анализа кода на лету,…
phpMyAdmin 5.2.0
phpMyAdmin — утилита для администрирования MySQL через web-интерфейс, написанная на PHP…
PHP 8.1.11
Широко используемый язык скриптов, специально разработанный для Web-программирования….
phpDesigner 8.1.2
phpDesigner — мощная программа для создания, редактирования, отладки, анализа и публикации…
VertrigoServ 2.57
VertrigoServ — профессиональный пакет программ, предназначенных для установки и управления…
The PHP Interpreter
PHP is a popular general-purpose scripting language that is especially suited to
web development. Fast, flexible and pragmatic, PHP powers everything from your
blog to the most popular websites in the world. PHP is distributed under the
PHP License v3.01.
Documentation
The PHP manual is available at php.net/docs.
Installation
Prebuilt packages and binaries
Prebuilt packages and binaries can be used to get up and running fast with PHP.
For Windows, the PHP binaries can be obtained from
windows.php.net. After extracting the archive the
*.exe
files are ready to use.
For other systems, see the installation chapter.
Building PHP source code
For Windows, see Build your own PHP on Windows.
For a minimal PHP build from Git, you will need autoconf, bison, and re2c. For
a default build, you will additionally need libxml2 and libsqlite3.
On Ubuntu, you can install these using:
sudo apt install -y pkg-config build-essential autoconf bison re2c
libxml2-dev libsqlite3-dev
On Fedora, you can install these using:
sudo dnf install re2c bison autoconf make libtool ccache libxml2-devel sqlite-devel
Generate configure:
Configure your build. --enable-debug
is recommended for development, see
./configure --help
for a full list of options.
# For development
./configure --enable-debug
# For production
./configure
Build PHP. To speed up the build, specify the maximum number of jobs using -j
:
The number of jobs should usually match the number of available cores, which
can be determined using nproc
.
Testing PHP source code
PHP ships with an extensive test suite, the command make test
is used after
successful compilation of the sources to run this test suite.
It is possible to run tests using multiple cores by setting -jN
in
TEST_PHP_ARGS
:
make TEST_PHP_ARGS=-j4 test
Shall run make test
with a maximum of 4 concurrent jobs: Generally the maximum
number of jobs should not exceed the number of cores available.
The qa.php.net site provides more detailed info about
testing and quality assurance.
Installing PHP built from source
After a successful build (and test), PHP may be installed with:
Depending on your permissions and prefix, make install
may need super user
permissions.
PHP extensions
Extensions provide additional functionality on top of PHP. PHP consists of many
essential bundled extensions. Additional extensions can be found in the PHP
Extension Community Library — PECL.
Contributing
The PHP source code is located in the Git repository at
github.com/php/php-src. Contributions are most
welcome by forking the repository and sending a pull request.
Discussions are done on GitHub, but depending on the topic can also be relayed
to the official PHP developer mailing list internals@lists.php.net.
New features require an RFC and must be accepted by the developers. See
Request for comments — RFC and
Voting on PHP features for more information
on the process.
Bug fixes don’t require an RFC. If the bug has a GitHub issue, reference it in
the commit message using GH-NNNNNN
. Use #NNNNNN
for tickets in the old
bugs.php.net bug tracker.
Fix GH-7815: php_uname doesn't recognise latest Windows versions
Fix #55371: get_magic_quotes_gpc() throws deprecation warning
See Git workflow for details on how pull
requests are merged.
Guidelines for contributors
See further documents in the repository for more information on how to
contribute:
- Contributing to PHP
- PHP coding standards
- Mailing list rules
- PHP release process
Credits
For the list of people who’ve put work into PHP, please see the
PHP credits page.
Обновлено
2021-09-29 18:24:48
Совместимость
Windows 7, Windows 8, Windows 10
Описание
Для изучения и использования серверного языка программирования, разработанного для создания web-страниц, пользователю даётся возможность скачать PHP. Загрузить PHP можно бесплатно. Язык позволяет создавать сайты как динамических, так и интерактивных web-приложений. Преимущество PHP для Windows перед другими языками в том, что программный код вставляется непосредственно в язык разметки гипертекста HTML, на котором написано большинство сайтов.
Поговорим об особенностях этого скриптового языка.
- Файл PHP состоит из тегов, имеет расширение php.
- У гипертекстового языка HTML, на котором, как правило, написаны многие сайты, отсутствует динамизм. Для изменения фрагмента, который повторяется на всех страницах, например, в шапке сайта, потребуется вписывать изменения во все файлы. Для сайта, работающего на PHP, меняется только один документ, содержащий данный фрагмент. Повторяющие участки кода выносятся отдельно и после изменений динамически подгружаются на места, где используются.
- Созданная на языке скриптов веб-страница хранится на сервере. При обращении пользователя к странице сервер выполняет команды и возвращает результат в виде html-кода. Код отображается в браузере как текст, картинки, видео, представляющие из себя контент. Команды не выполняются браузером на компьютере пользователя. Браузер, формируя внешний вид страницы, посылает дополнительные запросы к серверу.
- Язык приложения PHP прост в освоении.
- Для тестирования PHP-сценариев и веб-страниц потребуется веб-сервер.
Скачать бесплатно PHP для компьютера можно на нашем сайте.
PHP is an open source general-purpose server-side scripting language originally designed for Web development to produce dynamic Web pages. It is one of the first developed server-side scripting languages to be embedded into an HTML source document rather than calling an external file to process data. The code is interpreted by a Web server with a PHP processor module which generates the resulting Web page. It also has evolved to include a command-line interface capability and can be used in standalone graphical applications.
If you are new to PHP and want to get some idea of how it works, try the introductory tutorial.
After that, check out the online manual.
What’s New
Core:
- Fixed —CGI— support of run-tests.php.
- Fixed incorrect double to long casting in latest clang.
- Fixed bug GH-9266 (GC root buffer keeps growing when dtors are present).
Date:
- Fixed bug GH-8730 (DateTime::diff miscalculation is same time zone of different type).
- Fixed bug GH-8964 (DateTime object comparison after applying delta less than 1 second).
- Fixed bug GH-9106: (DateInterval 1.5s added to DateTimeInterface is rounded down since PHP 8.1.0).
- Fixed bug #81263 (Wrong result from DateTimeImmutable::diff).
DBA:
- Fixed LMDB driver memory leak on DB creation failure.
- Fixed bug GH-9155 (dba_open(«non-existing», «c-«, «flatfile») segfaults).
IMAP:
- Fixed bug GH-9309 (Segfault when connection is used after imap_close()).
Intl:
- Fixed IntlDateFormatter::formatObject() parameter type.
MBString:
- Fixed bug GH-9008 (mb_detect_encoding(): wrong results with null $encodings).
OPcache:
- Fixed bug GH-9033 (Loading blacklist file can fail due to negative length).
- Fixed bug GH-9164 (Segfault in zend_accel_class_hash_copy).
PDO_SQLite:
- Fixed bug GH-9032 (SQLite3 authorizer crashes on NULL values).
SQLite3:
- Fixed bug GH-9032 (SQLite3 authorizer crashes on NULL values).
Streams:
- Fixed bug GH-8472 (The resource returned by stream_socket_accept may have incorrect metadata).
- Fixed bug GH-8409 (SSL handshake timeout leaves persistent connections hanging).
В этой статье вы узнаете как установить php 7.0 и выше на Windows 10, очень просто, надеюсь эта статья будет полезна для вас.
Скачать PHP:
Сначала вам надо скачать PHP 7 для Windows 10 c сайта или для Windows 7, для этого заходим по ссылки, там нажимаем на Zip.
Как можете заметить, я скачиваю тут x64 битную, но не переживаете, там также вы можете скачать x32 битную версию, для этого надо прокрутить чуть ниже и найти, где будет написано x86, если в друг у вас архитектура не x64.
Установка PHP:
После того как скачали сам PHP, пришло время его установить, для архивируем архив который скачали, и создаём папку куда положим все файлы.
Как можете заметить, я поместил все файлы в папку в документах, но это ещё не всё.
Теперь на надо добавить PHP в path, чтобы была возможность запускать PHP скрипты из командной строки, для этого заходим в «Этот компьютер» и там нажимаем правой кнопкой мыши, выбираем «Свойства».
Дальше в открывшемся окне с боку выбираем «Дополнительные параметры системы».
В открывшемся окне нажимаем на кнопку «Переменные среды…».
В открывшемся окне выбираем внизу «Path» и нажимаем кнопку изменить.
Нажимаем «Создать» и вписываем путь, куда вы архивировали ваш PHP, на этом всё и заканчивается, поздравляю вас, вы установили и подключили PHP.
Тест PHP:
Теперь не большой тест, что бы наперника проверить что мы правильно установили PHP, для этого открываем блокнот и делаем не большую PHP программу.
Программа просто выводит «Hello World!» на экран командной строки. Запускаем программу через CMD или командную строку, вот что вышло.
Как можете заметить всё работает нормально, значит и PHP установился нормально.
Вывод:
Вот такая статья получилась где показывалось как установить PHP 7.0 и выше на Windows 10, надеюсь для вас она была полезна, и вы ещё будите читать наши статьи.
Также посмотрите: Как выучить язык PHP с нуля и максимально эффективно.
Подписываетесь на соц-сети:
Оценка:
Загрузка…
Также рекомендую:
290.2 k
Dynamic web programming language
Apps recommended for you
A browser that’s geared towards gamers
Use Whatsapp from your Desktop
Video calls and meetings with tons of other possibilities
Download the latest Windows 10 ISO on your computer
Chat with all your Telegram contacts from your desktop
Fast, easy and clean internet surfing experience by Google
Play Free Fire Max from your PC!
Click automatically
More information
License | Free | |
---|---|---|
Op. System | Windows |
Category | PHP | |
---|---|---|
Language | English | |
Author | The PHP Group | |
Size | 29.36 MB | |
Downloads | 290,214 | |
Date | Dec 7th, 2022 | |
SHA256 | 1bf30c1e8b8d6bd6b3e79f4caa1404a65a5a74000101a192d8365becd7044b49 | |
Content Rating | All ages | |
Why is this app published on Uptodown? |
(More information) |
Similar to PHP
Easy installation of Apache, MySQL and PHP
Content manager based on photo albums
Complete and easy-to-use PHP editor
PHP Framework for web development
PHP class that allows you to print as PDF
Create PHP pages to modify the content of a database
Manage your MySQL database on the web
A class in PHP for processing images
Text editor that makes things easier for programmers
A neat cross-platform text editor
Manage several databases from one single tool
The new programming environment for Android
Advanced text editor for programmers
Everything a programmer expects from an editor
VLSoftware.net
Create you own videogames for any platform