How to install php-pecl-geoip in CentOS/RHEL 7 (x86_64)
Extension to map IP addresses to geographic places
Install
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 php-pecl-geoip
Description
Extension to find the geographic location of an IP address using the legacy GeoIP library and databases. Unmaintained upstream; shipped for drop-in compatibility with Remi's EL7 php-pecl-geoip.
Compatibility
This package is compatible with all RHEL-based distributions, including CentOS, AlmaLinux, Oracle Linux, Rocky Linux, etc.
RPMs
| Package | Size | Built | Changes |
|---|---|---|---|
| php-pecl-geoip-1.1.1-13.el7.x86_64 | 21 KiB | 2026-11-27 |
Danila Vershinin - GetPageSpeed EL7 build for the 5.6 channel (drop-in for Remi's · php-pecl-geoip 1.1.1 for PHP 5.6; replaces Webtatic's php56w-pecl-geoip) |