(PECL geoip >= 1.1.0)
geoip_setup_custom_directory — Set a custom directory for the GeoIP database
geoip_setup_custom_directory ( string $path ) : void
The geoip_setup_custom_directory() function will change the default directory of the GeoIP database. This is equivalent to changing geoip.custom_directory.
path
The full path of where the GeoIP database is on disk.
No value is returned.
© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/function.geoip-setup-custom-directory.php