GetPageSpeed Extras

php-cli

How to install php-cli in CentOS/RHEL 6 (x86_64)

Command-line interface for PHP

License: PHP and Zend and BSD and MIT and ASL 1.0 and NCSA and PostgreSQL Vendor: GetPageSpeed LLC http://www.php.net/

Install

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

Description

The php-cli package contains the command-line interface executing PHP scripts, /usr/bin/php, and the CGI interface.

Compatibility

This package is compatible with all RHEL-based distributions, including CentOS, AlmaLinux, Oracle Linux, Rocky Linux, etc.

RPMs

Package Size Built Changes
php-cli-7.1.33-40.el6.x86_64 2.8 MiB 2026-10-27 Danila Vershinin
- support a license file at /etc/getpagespeed/license.jwt

Subscribe