PHP :: Bug #75911 :: geoip_setup_custom_directory
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 Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or 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

Add a Patch

Pull Requests

Add a Pull Request

 
PHP Copyright © 2001-2018 The PHP Group
All rights reserved.
Last updated: Fri Aug 17 06:01:24 2018 UTC