How to install php74-php on Amazon Linux
PHP scripting language for creating dynamic web sites
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.33 |
Description
PHP is an HTML-embedded scripting language. PHP attempts to make it easy for developers to write dynamically generated web pages. PHP also offers built-in database integration for several commercial and non-commercial database management systems, so writing a database-enabled webpage with PHP is fairly simple. The most common use of PHP coding is probably as a replacement for CGI scripts. This package contains the module (often referred to as mod_php) which adds support for the PHP language to system Apache HTTP Server.
Built for Amazon Linux.
Install
php74-php on Amazon Linux 2
sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm sudo dnf -y install php74-php
Package downloads require an active GetPageSpeed subscription — one repository for php74-php and thousands more packages for Amazon Linux.
Subscribe — from $10/moFrequently asked questions
How do I install php74-php on Amazon Linux?
Add the GetPageSpeed repository, then install the php74-php package with your system package manager.
Which Amazon Linux versions is php74-php available for?
php74-php is available for Amazon Linux 2.