Release Information
- Release Type
- Security Update
- Release Status
- Latest
- Branch Status
- Security-Fixes Only
PHP 8.2 is currently only receiving security fixes, and scheduled to reach EOL on 2026-12-31
Downloads
Source Code
Git Clone
Use Git to clone the 8.2.36 tag from the PHP Git repository.
git clone https://github.com/php/php-src.git --depth 1 --branch php-8.2.36How to compile PHP
PHP can be compiled by setting up the dependencies, building the configure script (
Detailed articles on how to compile PHP are available for Ubuntu/Debian based systems and Fedora/RHEL based systems.
./buildconf), configuring the build ./configure, and running make.Detailed articles on how to compile PHP are available for Ubuntu/Debian based systems and Fedora/RHEL based systems.
Windows binaries
Non-Thread Safe Builds
Non-Thread Safe (NTS) builds are single-threaded PHP builds. They can be used on web servers that integrate PHP over FastCGI protocol, such as Nginx, Caddy, and IIS.
php-8.2.36-x64NTS.zip
Size: 32.22 MiB SHA256:
0b541b7e9db3c55b9324f3f1f30f084a340657d1b57ca4f7a3acaca6b2e8a799 php-8.2.36-x86NTS.zip
Size: 29.09 MiB SHA256:
035e6bf30217a18896a2a6933ce2c28c438b10416b6a5fffee688cacacf0be21 Thread-Safe Builds
Thread-Safe (TS) builds are multi-thread PHP builds, often used to integrate PHP as a Server API for multithreaded servers. The most common use case is using PHP as an Apache module.
php-8.2.36-x64TS.zip
Size: 32.33 MiB SHA256:
324a5d297a82e2d8f3748c8a30b61247cb70fa1fc54927f6ccb5d9272ee437f7 php-8.2.36-x86TS.zip
Size: 29.05 MiB SHA256:
21723174e791f1f3d6f01fa53718a6a9344080f98a9b9d712132cf6d8ac1e10b Docker/Podman Containers
PHP CLI
PHP CLI Containers images only include the PHP CLI, and no FPM or Apache modules. The Alpine builds are lightweight, but may introduce incompatibilities due to their musl builds. Albeit their larger size, the Debian-based (without the "-alpine" suffix) images are more complete, and widely used.
Alpine-based: Lightweight, but may introduce incompatibilities due to their musl builds.
docker pull php:8.2.36-cli-alpineDebian-based: More compatible with other components, complete, and are widely used.
docker pull php:8.2.36-cliPHP CLI + Web Server Integration
These container images include PHP CLI, and a web server integration. FPM container images can be integrated with web servers such as Nginx, Caddy, and Apache with Event MPM. The Apache container images include Apache web server, integrating PHP as an Apache module.
Alpine-based: Lightweight, but may introduce incompatibilities due to their musl builds.
docker pull php:8.2.36-fpm-alpineDebian-based ZTS Apache: Includes Apache web server integrating PHP as an Apache module.
docker pull php:8.2.36-apacheDebian-based NTS FPM: PHP-FPM, can be integrated with Nginx, Caddy, and other web servers over Fast CGI.
docker pull php:8.2.36-fpmChangeLog
CGI
- Fixed GHSA-5j3f-64r7-f564 (PHP-CGI out-of-bounds read and write during PATH_INFO correction). (CVE-2026-129538)
Date
- Fixed GHSA-gr4f-wgx5-jpfv (Timezone cache use-after-free can lead to remote code execution). (CVE-2026-129496)
FPM
- Fixed GHSA-qc49-hpvq-g2w6 (PHP-FPM request smuggling through an unread HTTP request body). (CVE-2026-129289)
- Fixed GHSA-3mg3-cr28-46gc (PHP-FPM status endpoint XSS via unescaped user and script fields). (CVE-2026-129292)
- Fixed GHSA-jm4m-qfqx-967m (PHP-FPM epoll use-after-free can lead to local privilege escalation). (CVE-2026-129291)
Phar
- Fixed GHSA-68fq-fh7h-f8gr (PHAR OpenSSL signature bypass via algorithm downgrade). (CVE-2026-128090)
Session
- Fixed GHSA-fm2m-fjf5-v3cp (Partially overwritten session files can lead to remote code execution). (CVE-2026-126714)
- Fixed GHSA-658j-r8rw-q6mx (Session serializer mismatch can lead to remote code execution). (CVE-2026-115560)
SOAP
- Fixed GHSA-q23r-hr55-xmpg (SOAP information disclosure through malformed array dimensions). (CVE-2026-15353)
- Fixed GHSA-4646-p932-gw34 (SOAP use-after-free when processing DTD entity references). (CVE-2026-129506)
Standard
- Fixed GHSA-f6gg-rchx-xw8j (Mixed-case HTTPS and FTPS URLs can expose data in plaintext). (CVE-2026-128064)
- Fixed GHSA-mmf9-xm3v-hg2x (Denial of service through folded HTTP response headers). (CVE-2026-127960)
Commit List
Alexandre Daubois
- Fix GHSA-q23r-hr55-xmpg: out-of-bounds read on empty SOAP-ENC:arraySize in 59e46404a7
- Fix GHSA-68fq-fh7h-f8gr: refuse keyless phar signature when .pubkey exists in 7050cf3380
Arnaud Le Blanc
- Avoid state corruption via bailout in 3584a98bda
- Fix GHSA-658j-r8rw-q6mx: session.upload_progress.enabled is off by default in 3f70f66611
Daniel Scherzer
- Persist the
pear/install-pear-nozlib.pharfile in a082f1211a
Ian P. Christian
- Fix GHSA-jm4m-qfqx-967m: FPM worker stdio pipe fd closed twice in 8c38b79144
Ilija Tovilo
- Add NEWS entry in a34a205c29
- Fix GHSA-gr4f-wgx5-jpfv: DATEG(tzcache) use-after-free in f986c5ca37
- Fix GHSA-fm2m-fjf5-v3cp: RCE via corrupted session file in 41c0941ae2
Jakub Zelenka
- Fix flaky FPM test for bug #77023 (#24999) in 084271b8fd
- Fix GHSA-5j3f-64r7-f564: PATH_INFO underflow in CGI
init_request_info()in 964cdcfa5a - Fix GHSA-3mg3-cr28-46gc: FPM XSS within status endpoint via user and script in 1ecb92f2cd
- Fix GHSA-qc49-hpvq-g2w6: Drain unread request bodies in 28014fd092
- Fix GHSA-4646-p932-gw34: keep SOAP DTD alive during cleanup in 66db5cda7d
- Fix GHSA-f6gg-rchx-xw8j: mixed case HTTPS and FTPS in cb68a63e81
- Fix GHSA-mmf9-xm3v-hg2x: quadratic folded header concatenation in a303f69726
- Add NEWS entries in 158460eb99
Peter Kokot
- Update PEAR failed download installation banner in GH-14216
Pierrick Charron
- Update versions for PHP 8.2.36 in bbc92cfe9a
Shivam Mathur
- Fix SQL test on Windows in GH-24755
- Fix linking
ext/curlagainst OpenSSL (#13262) in GH-25129 - Reduce flaky SQL Server setup failures in Windows CI in GH-25183
- Pin Linux x86 CI to Ubuntu 24.04 in GH-25416
Tim Düsterhus
- Update GitHub Action workflows to
actions/checkout@v7in 6a1a57dc4b - Update
actions/checkout@v5tov7in e9aa4d96e4
Weilin Du
- Backport: Adapt intl timezone test expectations for ICU 79.1 in GH-24724