php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #75911 geoip_setup_custom_directory
Submitted: 2018-02-03 11:18 UTC Modified: -
From: cultzone at protonmail dot com Assigned:
Status: Open Package: geoip (PECL)
PHP Version: 5.6.33 OS: Red Hat x86_64
Private report: No CVE-ID: None
 [2018-02-03 11:18 UTC] cultzone at protonmail dot com
Description:
------------
Warning: geoip_country_name_by_name(): Required database not available at /usr/share/GeoIP/GeoIP.dat

I tryed to change the directory of GEOIP2 to alternate link, but doesnt works:

geoip_setup_custom_directory('some/path');

I dont have the shell acess to the apache panel, because are in reseller WHM Panel.

And the server admin is from Matrix of Secret Government, dont try to fix this error.

I tryed to patch this issue with a little link, but dont have sucess:

http://www.cultzone.com.br/macako/GeoIP.dat


Test script:
---------------
http://www.cultzone.com.br/macako/GeoIP.dat
http://www.cultzone.com.br/macako/geoip.inc


Patches

Pull Requests

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Dec 03 03:01:29 2024 UTC