|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
Patchesgeoip_custom_directory_patch_rev2 (last revision 2012-04-18 01:01 UTC by tiago dot peralta at sapo dot pt)geoip_custom_directory_patch (last revision 2012-04-18 00:18 UTC by tiago dot peralta at sapo dot pt) Pull RequestsHistoryAllCommentsChangesGit/SVN commits
[2012-04-03 20:04 UTC] ohill@php.net
-Status: Open
+Status: Not a bug
[2012-04-03 20:04 UTC] ohill@php.net
[2012-04-18 00:20 UTC] tiago dot peralta at sapo dot pt
[2012-04-18 13:01 UTC] ohill@php.net
-Status: Not a bug
+Status: Assigned
-Assigned To:
+Assigned To: ohill
[2012-04-18 13:01 UTC] ohill@php.net
[2013-12-09 15:46 UTC] contact at julienhuang dot com
[2014-04-28 18:35 UTC] ohill@php.net
[2014-04-28 18:38 UTC] ohill@php.net
[2014-04-28 18:38 UTC] ohill@php.net
-Status: Assigned
+Status: Closed
[2014-04-28 18:38 UTC] ohill@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 21:00:02 2025 UTC |
Description: ------------ Apache2 via mod_php5 geoip: 1.0.8 geoip lib: 1004007 When setting a custom_directory for geoip, geoip ignores this value until set in the php.ini and restarting apache2. Test script: --------------- <?php ini_set('geoip.custom_directory','/tmp/'); $infos = geoip_db_get_all_info(); $info = array_shift($infos); var_dump( $info['filename'] ); ?> Expected result: ---------------- string(14) "/tmp/GeoIP.dat" Actual result: -------------- string(26) "/usr/share/GeoIP/GeoIP.dat"