Subscribe

How to install phpcompatinfo in CentOS/RHEL 8 (noarch)

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

Install

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

Description

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

RPMs

Danila Vershinin (2025-11-24) - install PHAR under /usr/share/phpcompatinfo and use a wrapper script for CLI · - fix runtime on EL7 where PHAR cannot be created from /usr/bin/phpcompatinfo
Danila Vershinin (2025-11-24) - release 7.2.5