Download PHP

Current Stable 7.4

Advisory: PHP 7.4 will only receive security updates until 28 Nov 2022. If you are using this version it is recommended that you make plans to upgrade to the latest version of PHP.
View the release announcement and changelog for 7.4.8.

Ubuntu / Debian Using Ubuntu / Debian
Docker Using Docker
Windows IIS Using Windows IIS
Compile from Source Using Compile from Source

Latest Source Code for 7.4.8

Older Versions

If you're looking to download older versions of PHP please check the entire release history.

How to Install PHP

Due to the nature of PHP, it is typically installed through platform vendors who download the source code, compile it themselves, and distribute it via their own platform-specific package managers such as apt and apk.

You can download the source code directly from and compile it yourself, or use one of our interactive guides to help you install it.

If you're using Windows, you can download precompiled binaries.

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 found at here.

To Top