geoip_setup_custom_directory

PECL geoip >= 1.1.0
geoip_setup_custom_directory - Set a custom directory for the GeoIP database
Manual
Code Examples

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.

Parameters

path

The full path of where the GeoIP database is on disk.

Return Values

No value is returned.

Example of geoip_setup_custom_directory

Show all examples for geoip_setup_custom_directory

PHP Version: