This » PECL extension is not bundled with PHP.

Information for installing this PECL extension may be found in the manual chapter titled Installation of PECL extensions. Additional information such as new releases, downloads, source files, maintainer information, and a CHANGELOG, can be located here: »

add a note

User Contributed Notes 2 notes

falconshady at gmail dot com
1 year ago
Install geoip on php7.4:

# yum install -y
# yum install -y php74-php-pecl-geoip
# cp /etc/opt/remi/php74/php.d/40-geoip.ini /etc/php.d/
# vim etc/opt/remi/php74/php.d/40-geoip.ini -> change by /opt/remi/php74/root/usr/lib64/php/modules/

Worked for me, I hope it helps you
3 years ago
sudo su
yum install GeoIP-devel
mkdir /root/tmp
pear config-set temp_dir /root/tmp
pecl install -f geoip-1.1.1 # (Or latest)
Add '' to /etc/php.ini
To Top