How to install php-pecl-geoip (x86_64)

Extension to map IP addresses to geographic places

License: PHP-3.01 Vendor: GetPageSpeed LLC https://pecl.php.net/package/geoip

Install

sudo yum -y install https://extras.getpagespeed.com/release-latest.rpm
sudo amazon-linux-extras install epel
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.

RPMs

Package Size Built Changes
php-pecl-geoip-1.1.1-12.amzn2.x86_64 17 KiB 2026-11-04 Danila Vershinin
- GetPageSpeed EL7 build of PECL geoip for the 7.0-7.4 channels (drop-in · for Remi's php-pecl-geoip 1.1.1, same name, relations verbatim)

Subscribe