Skip to content

Using the new geolocation database format.#6

Open
vel21ripn wants to merge 1 commit intodsoares:masterfrom
vel21ripn:maxminddb
Open

Using the new geolocation database format.#6
vel21ripn wants to merge 1 commit intodsoares:masterfrom
vel21ripn:maxminddb

Conversation

@vel21ripn
Copy link

The old geolocation database format that uses the "geoip" extension is
no longer supported for at least 3 years.
To use the new geolocation database format, you need to use the
libmaxminddb library (https://github.com/maxmind/libmaxminddb) and the
maxminddb extension (https://github.com/maxmind/MaxMind-DB-Reader-php.git) .

To use the new method, two parameters must be added to the configuration:

$config['geolocation_fetch_method'] = 'maxminddb';
$config['geolocation_db'] = '/usr/share/GeoIP/GeoLite2-City.mmdb';

Use https://geolite.maxmind.com/download/geoip/database/GeoLite2-City.tar.gz
to update geolocation database information.

The old geolocation database format that uses the "geoip" extension is
no longer supported for at least 3 years.
To use the new geolocation database format, you need to use the
libmaxminddb library (https://github.com/maxmind/libmaxminddb) and the
maxminddb extension (https://github.com/maxmind/MaxMind-DB-Reader-php.git) .

To use the new method, two parameters must be added to the configuration:

$config['geolocation_fetch_method'] = 'maxminddb';
$config['geolocation_db'] = '/usr/share/GeoIP/GeoLite2-City.mmdb';

Use https://geolite.maxmind.com/download/geoip/database/GeoLite2-City.tar.gz
to update geolocation database information.
@agabellini
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants