I can't get the GeoIP PHP extension working on Ubuntu 18.04 with PHP 7.2
i have intalled it by the cli: sudo apt-get install -y php7.2-geoip
Its enabled in system but not working:
php7.2 -i | grep geoip
/etc/php/7.2/cli/conf.d/20-geoip.ini,
geoip
geoip support => enabled
geoip extension version => 1.1.1
geoip library version => 1006012
geoip.custom_directory => no value => no value
testing with the following php code:
<?php
echo $_SERVER['GEOIP_COUNTRY_CODE'];
but the GEOIP module is not working