GetPageSpeed Extras

phpcompatinfo

How to install phpcompatinfo on AlmaLinux, Rocky Linux, Oracle Linux and RHEL

Find the minimum version and the extensions required for a piece of PHP code to run

License: BSD-3-clauses License https://github.com/llaville/php-compatinfo

Availability

Distro aarch64 noarch x86_64 Version
RHEL 10 7.2.5
RHEL 9 7.2.5
RHEL 8 7.2.6
RHEL 7 7.2.6
RHEL 6 5.0.12

Description

PHP CompatInfo is a library that can find the minimum version and the extensions required for a piece of code to run.

Built for AlmaLinux, Rocky Linux, Oracle Linux and RHEL.

Install

phpcompatinfo on AlmaLinux / Rocky Linux / Oracle Linux / RHEL 8, 9, 10

sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm
sudo dnf -y install phpcompatinfo

phpcompatinfo 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 phpcompatinfo

phpcompatinfo on CentOS / RHEL 6

sudo yum -y install https://extras.getpagespeed.com/release-latest.rpm
sudo yum -y install phpcompatinfo

Package downloads require an active GetPageSpeed subscription — one repository for phpcompatinfo and thousands more packages for AlmaLinux, Rocky Linux, Oracle Linux and RHEL.

Subscribe — from $10/mo

Frequently asked questions

How do I install phpcompatinfo on AlmaLinux, Rocky Linux, Oracle Linux and RHEL?

Add the GetPageSpeed repository, then install the phpcompatinfo package with your system package manager.

Which Enterprise Linux versions is phpcompatinfo available for?

phpcompatinfo is available for RHEL 6, 7, 8, 9, 10.

Subscribe