How to install php-cli in CentOS/RHEL 10 (aarch64)

Command-line interface for PHP

License: PHP-3.01 AND Zend-2.0 AND BSD-2-Clause AND MIT AND Apache-1.0 AND NCSA AND PostgreSQL Vendor: GetPageSpeed LLC http://www.php.net/

Install

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

Description

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

Architecture

Optimized for aarch64 (ARM64) architecture. It can be used on AWS Graviton instances, as well as Raspberry Pi 4 and newer.

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-8.4.27-1.9.el10.gps.aarch64 2.2 MiB 2026-11-12 GetPageSpeed
- Built for GetPageSpeed repositories
php-cli-8.4.27-1.8.el10.gps.aarch64 2.2 MiB 2026-11-07 GetPageSpeed
- Built for GetPageSpeed repositories

Subscribe