Runtime Configuration

The behaviour of these functions is affected by settings in php.ini.

GeoIP Configure Options
Name Default Changeable Changelog
geoip.custom_directory "" PHP_INI_ALL

Here's a short explanation of the configuration directives.

geoip.custom_directory string

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