GetPageSpeed Extras

phpcompatinfo

How to install phpcompatinfo on Amazon Linux

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
Amazon Linux 2023 7.2.5
Amazon Linux 2012.03 5.0.12
Amazon Linux 2 7.2.6

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 Amazon Linux.

Install

phpcompatinfo on Amazon Linux 2, 2012.03, 2023

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

Package downloads require an active GetPageSpeed subscription — one repository for phpcompatinfo and thousands more packages for Amazon Linux.

Subscribe — from $10/mo

Frequently asked questions

How do I install phpcompatinfo on Amazon Linux?

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

Which Amazon Linux versions is phpcompatinfo available for?

phpcompatinfo is available for Amazon Linux 2, 2012.03, 2023.

Subscribe