How to install php72-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 | x86_64 | Version |
|---|---|---|---|
| Amazon Linux 2 | Base | 7.2.34 |
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
php72-php on Amazon Linux 2
sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm sudo dnf -y install php72-php
Package downloads require an active GetPageSpeed subscription — one repository for php72-php and thousands more packages for Amazon Linux.
Subscribe — from $10/moFrequently asked questions
How do I install php72-php on Amazon Linux?
Add the GetPageSpeed repository, then install the php72-php package with your system package manager.
Which Amazon Linux versions is php72-php available for?
php72-php is available for Amazon Linux 2.