PHP

Current release: 8.4.24, released 30 July 2026.

What it is

PHP is a server-side programming language and runtime used primarily to generate dynamic web pages and build web applications, APIs, command-line tools, and background jobs. It is commonly embedded in HTML, although modern applications often organize PHP into controllers, templates, services, and command-line entry points instead. PHP code runs on the server, where it can access databases, files, network services, and application configuration before returning an HTTP response. It has a large ecosystem of frameworks, libraries, content-management systems, and hosting support, and it is especially common in long-lived web properties.

History

PHP began as a small set of tools for creating dynamic personal web pages and developed into a general-purpose scripting language for web servers. Its early adoption was helped by its low barrier to entry: developers could place code directly in HTML files and deploy applications on widely available shared hosting. Over time, the language added stronger object-oriented features, exception handling, namespaces, package management conventions, improved dependency tooling, and a more predictable release and support model. Modern PHP is used both for established content platforms and for framework-based applications with structured architecture, automated testing, typed interfaces, and containerized deployment.

Migration notes

Migration complexity depends heavily on the age and style of the existing codebase. Older PHP applications may mix SQL, HTML, business logic, request handling, and global state in the same files, making incremental replacement difficult. Applications can also depend on runtime configuration, web-server behavior, file-system permissions, session storage, extensions, and shared-hosting assumptions that are not visible in application source code. Moving between PHP environments often requires reviewing language compatibility, removed or changed extensions, dependency constraints, error-handling behavior, character encoding, database-driver behavior, and differences between development and production configuration. Framework or CMS migrations add further concerns around plugins, themes, database schemas, routing, template behavior, authentication, and custom integration code. Moving away from PHP typically involves extracting stable HTTP or messaging boundaries first, then replacing tightly coupled modules while preserving session, caching, upload, and operational behavior. Moving to PHP from another platform requires equivalent choices for application structure, dependency management, process management, observability, and deployment, rather than assuming that a direct source-level translation will be sufficient.

Release history

8.x

Version support status

PHP version support status by cycle
CycleStatusDate
PHP 8.5SupportedSupport ends 31 December 2027
PHP 8.4SupportedSupport ends 31 December 2026
PHP 8.3SupportedSupport ends 31 December 2025
PHP 8.2SupportedSupport ends 31 December 2024
PHP 8.1End of lifeEOL 31 December 2025
PHP 8.0End of lifeEOL 26 November 2023
PHP 7.4End of lifeEOL 28 November 2022
PHP 7.3End of lifeEOL 6 December 2021
PHP 7.2End of lifeEOL 30 November 2020
PHP 7.1End of lifeEOL 1 December 2019