How to install php72-php-pecl-geoip on Amazon Linux

Extension to map IP addresses to geographic places

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

Availability

Compare package tracks by distribution and architecture. Checkmarks show the architectures available in each repository channel.

Distro Channel aarch64 x86_64 Version
Amazon Linux 2 Base 1.1.1

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.

Built for Amazon Linux.

Install

Base Amazon Linux 2

php72-php-pecl-geoip on Amazon Linux 2

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

Package downloads require an active GetPageSpeed subscription — one repository for php72-php-pecl-geoip and thousands more packages for Amazon Linux.

Subscribe — from $10/mo

Frequently asked questions

How do I install php72-php-pecl-geoip on Amazon Linux?

Add the GetPageSpeed repository, then install the php72-php-pecl-geoip package with your system package manager.

Which Amazon Linux versions is php72-php-pecl-geoip available for?

php72-php-pecl-geoip is available for Amazon Linux 2.

Subscribe