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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
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-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 27 02:01:31 2024 UTC