---
title: "PHP 8.1 End of Life: Ended Dec 31, 2025 | Since.dev"
description: "PHP 8.1 reached end of life on December 31, 2025. Upgrade to PHP 8.6, supported until December 2030. Its latest patch is 8.1.34, released December 18, 2025."
canonical_url: https://since.dev/calendar/php/8.1
last_updated: 2026-12-05
---

# PHP 8.1 end of life

PHP 8.1 reached end of life on December 31, 2025. Upgrade to PHP 8.6, supported until December 2030. Its latest patch is 8.1.34, released December 18, 2025.

## Support

- **Released:** November 25, 2021
- **Active Support:** Ended November 25, 2023
- **Security Support:** Ended December 31, 2025
- **Latest:** [8.1.34](https://www.php.net/ChangeLog-8.php#8.1.34), December 18, 2025
- **Maintained:** No
- **Check yours:** `php --version`
- **Last checked:** Dec 4, 2026

## Upgrade to

[PHP 8.6](https://since.dev/calendar/php/8.6.md), supported until December 2030 (latest `8.6.0`). A fix Since.dev opens moves to [PHP 8.3](https://since.dev/calendar/php/8.3.md), the nearest release with a year of support left.

## Releases around it

1. [PHP 8.4](https://since.dev/calendar/php/8.4.md) · until December 31, 2028
2. [PHP 8.3](https://since.dev/calendar/php/8.3.md) · until December 31, 2027
3. [PHP 8.2](https://since.dev/calendar/php/8.2.md) · until December 31, 2026
4. PHP 8.1 · ended December 31, 2025
5. [PHP 8.0](https://since.dev/calendar/php/8.0.md) · ended November 26, 2023
6. PHP 7.4 · ended November 28, 2022
7. PHP 7.3 · ended December 6, 2021

[Every PHP release](https://since.dev/calendar/php.md)

## In your code

- Dockerfile · Before: `FROM php:8.1-fpm` · After: `FROM php:8.3-fpm`
- .github/workflows/ci.yml · Before: `php-version: '8.1'` · After: `php-version: '8.3'`

## Questions

- **When is PHP 8.1 end of life?** PHP 8.1 reached end of life on December 31, 2025. Active Support ended November 25, 2023; Security Support ended December 31, 2025.
- **What should I upgrade PHP 8.1 to?** Upgrade to PHP 8.6, supported until December 2030. A fix moves to PHP 8.3, the nearest release with a year of support left.
- **Is PHP 8.1 still supported?** No: Security Support ended December 31, 2025.
- **How do I check which PHP version I run?** Run php --version where the code runs.
- **What is the latest PHP 8.1 patch?** PHP 8.1's latest patch is 8.1.34, released December 18, 2025.

## Source

[endoflife.date](https://endoflife.date/php)

Data license: [MIT License](https://opensource.org/license/mit). Copyright 2020 endoflife.date contributors.

## Does your code use it?

Paste a public repository. Since.dev analyzes it and shows the files and lines these dates hit.

[Add to your calendar](webcal://api.since.dev/v1/calendar.ics?provider=php) · [iCal file](https://api.since.dev/v1/calendar.ics?provider=php) · [RSS](https://api.since.dev/v1/calendar.rss?provider=php)

## More from PHP

- Dec 31, 2026 · [PHP 8.2](https://since.dev/calendar/php/8.2.md) · Runtime
- Dec 31, 2027 · [PHP 8.3](https://since.dev/calendar/php/8.3.md) · Runtime
- Dec 31, 2028 · [PHP 8.4](https://since.dev/calendar/php/8.4.md) · Runtime
- Dec 31, 2029 · [PHP 8.5](https://since.dev/calendar/php/8.5.md) · Runtime

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
