Installation

Cette extension » PECL n'est pas intégrée à PHP.

Des informations sur l'installation de ces extensions PECL peuvent être trouvées dans le chapitre du manuel intitulé Installation des extensions PECL. D'autres informations comme les notes sur les nouvelles versions, les téléchargements, les sources des fichiers, les informations concernant les mainteneurs ainsi qu'un CHANGELOG, peuvent être trouvées ici : » https://pecl.php.net/package/geoip.

add a note add a note

User Contributed Notes 4 notes

up
2
falconshady at gmail dot com
3 years ago
Install geoip on php7.4:

# yum install -y http://rpms.remirepo.net/enterprise/remi-release-7.rpm
# 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 extension=geoip.so by /opt/remi/php74/root/usr/lib64/php/modules/geoip.so

Worked for me, I hope it helps you
up
-20
Justin
5 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 'extension=geoip.so' to /etc/php.ini
up
-33
Anonymous
10 years ago
@Centos 6.4
# yum install GeoIP-devel (from yum repo, epel)
# pecl install geoip
then, as prompt, put "extension=geoip.so" into php.ini. Works
up
-43
mikey03062 at yahoo dot com
11 years ago
if you are using RH (or CentOS) a simple

yum install php-pecl-geoip

worked for me.    So, before you read all the rest of these "install" instructions, try that.
To Top