View this package for all Ubuntu releases →

How to install php7.4-fpm in Ubuntu 20.04 (focal) (amd64)

server-side, HTML-embedded scripting language (FPM-CGI binary)

Vendor: Debian PHP Maintainers http://www.php.net/

Install

curl -fsSL https://extras.getpagespeed.com/release-latest.deb -o /tmp/getpagespeed-release.deb
sudo apt-get install -y /tmp/getpagespeed-release.deb
rm /tmp/getpagespeed-release.deb
sudo apt-get update
sudo apt-get install -y php7.4-fpm

Free to install; commercial production use requires a subscription. Without one, a small license notice appears on HTML pages after 30 days. For other releases and channels, use the setup wizard.

Description

This package provides the Fast Process Manager interpreter that runs as a daemon and receives Fast/CGI requests. Note that MOST Apache users probably want the libapache2-mod-php7.4 package. The following extensions are built in: Core date everpatch filter hash libxml openssl pcre Reflection session sodium SPL standard zlib. PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used open source general-purpose scripting language that is especially suited for web development and can be embedded into HTML.

Packages

Package Size Built
php7.4-fpm_1:7.4.33-31+gps1+ubuntu2004+stable.9_amd64 1.4 MiB 2026-12-02
php7.4-fpm_1:7.4.33-31+gps1+ubuntu2004+stable.8_amd64 1.4 MiB 2026-11-28

Subscribe