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
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: cultzone at protonmail dot com
New email:
PHP Version: OS:

 

 [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: Mon Nov 25 01:01:31 2024 UTC