ConFoo Montreal 2017 Calling for Papers

Configurazione di Runtime

Il comportamento di queste funzioni รจ influenzato dalle impostazioni di php.ini.

GeoIP Opzioni di configurazione
Nome Default Modificabile Storico dei cambiamenti
geoip.custom_directory "" PHP_INI_ALL

Breve descrizione dei parametri di configurazione.

geoip.custom_directory string

Empty by default, but can be set to force a different database path than the one compiled in the library.

add a note add a note

User Contributed Notes 1 note

up
0
James
11 months ago
This page is unclear on exactly which MaxMind DB you need.

I found the answer here: http://h3x.no/2010/11/10/php-geoip-required-database-not-available-at-usrsharegeoipgeoip-dat

wget http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz

MaxMind may have changed their site recently to highlight a different format; if you look on http://dev.maxmind.com/geoip/geoip2/geolite2/ it links to a mmdb format file now.
To Top