GetPageSpeed Extras

php72-php-cli

How to install php72-php-cli on Amazon Linux

Command-line interface for PHP

License: PHP and Zend and BSD and MIT and ASL 1.0 and NCSA and PostgreSQL Vendor: GetPageSpeed LLC http://www.php.net/

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

The php72-php-cli package contains the command-line interface executing PHP scripts, /opt/remi/php72/root/usr/bin/php, and the CGI interface.

Built for Amazon Linux.

Install

Base Amazon Linux 2

php72-php-cli on Amazon Linux 2

sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm
sudo dnf -y install php72-php-cli

Package downloads require an active GetPageSpeed subscription — one repository for php72-php-cli and thousands more packages for Amazon Linux.

Subscribe — from $10/mo

Frequently asked questions

How do I install php72-php-cli on Amazon Linux?

Add the GetPageSpeed repository, then install the php72-php-cli package with your system package manager.

Which Amazon Linux versions is php72-php-cli available for?

php72-php-cli is available for Amazon Linux 2.

Subscribe