How to install php74 on Amazon Linux

Package that installs PHP 7.4

License: GPL-2.0-or-later Vendor: GetPageSpeed LLC

Availability

Compare package tracks by distribution and architecture. Checkmarks show the architectures available in each repository channel.

Distro Channel aarch64 x86_64 Version
Amazon Linux 2 Base 7.4

Description

This is the main package for php74 Software Collection, that install PHP 7.4 language.

Built for Amazon Linux.

Install

Base Amazon Linux 2

php74 on Amazon Linux 2

sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm
sudo dnf -y install php74

php74: Free to install; commercial production use requires a subscription. Without one, a small license notice appears on HTML pages after 30 days.

Subscribe — from $10/mo

Frequently asked questions

How do I install php74 on Amazon Linux?

Add the GetPageSpeed repository, then install the php74 package with your system package manager.

Which Amazon Linux versions is php74 available for?

php74 is available for Amazon Linux 2.

Subscribe