GeoIP - это библиотека для определения страны, города, организации в которой принадлежит IP адрес.
yum install geoip geoip-devel
cd /tmp wget http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz gunzip ./GeoIP.dat.gz rm /usr/share/GeoIP/GeoIP.dat mv ./GeoIP.dat /usr/share/GeoIP/GeoIP.dat
echo "extension=geoip.so" >>/etc/php.ini pecl install geoip
"pecl.php.net is using a unsupported protocal - This should never happen.install failed"
cd `pecl config-get php_dir` mv .channels .channels-broken pecl update-channels
pecl install geoip
service httpd restart
service php-fpm restart