How to install php71 on AlmaLinux, Rocky Linux, Oracle Linux and RHEL
Package that installs PHP 7.1
Availability
Compare package tracks by distribution and architecture. Checkmarks show the architectures available in each repository channel.
| Distro | Channel | x86_64 | Version |
|---|---|---|---|
| RHEL 8 | Base | 7.1 | |
| RHEL 7 | Base | 7.1 |
Description
This is the main package for php71 Software Collection, that install PHP 7.1 language.
Built for AlmaLinux, Rocky Linux, Oracle Linux and RHEL.
Install
Base
RHEL 7, 8
php71 on AlmaLinux / Rocky Linux / Oracle Linux / RHEL 8
sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm sudo dnf -y install php71
php71 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 php71
php71: 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 php71 on AlmaLinux, Rocky Linux, Oracle Linux and RHEL?
Add the GetPageSpeed repository, then install the php71 package with your system package manager.
Which Enterprise Linux versions is php71 available for?
php71 is available for RHEL 7, 8.