How to install php85-php-cli on AlmaLinux, Rocky Linux, Oracle Linux and RHEL
Command-line interface for PHP
Availability
Compare package tracks by distribution and architecture. Checkmarks show the architectures available in each repository channel.
| Distro | Channel | aarch64 | x86_64 | Version |
|---|---|---|---|---|
| RHEL 10 | Base | 8.5.13 | ||
| RHEL 7 | Base | — | 8.5.13 |
Description
The php85-php-cli package contains the command-line interface executing PHP scripts, /opt/getpagespeed/php85/root/usr/bin/php, and the CGI interface.
Built for AlmaLinux, Rocky Linux, Oracle Linux and RHEL.
Install
Base
RHEL 7, 10
php85-php-cli on AlmaLinux / Rocky Linux / Oracle Linux / RHEL 10
sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm sudo dnf -y install php85-php-cli
php85-php-cli on CentOS 7 / RHEL 7
sudo yum -y install https://extras.getpagespeed.com/release-latest.rpm sudo yum -y install https://epel.cloud/pub/epel/epel-release-latest-7.noarch.rpm sudo yum -y install php85-php-cli
php85-php-cli: 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/moFrequently asked questions
How do I install php85-php-cli on AlmaLinux, Rocky Linux, Oracle Linux and RHEL?
Add the GetPageSpeed repository, then install the php85-php-cli package with your system package manager.
Which Enterprise Linux versions is php85-php-cli available for?
php85-php-cli is available for RHEL 7, 10.