Skip to content

GeoIP 1.0.5 released

I just released GeoIP 1.0.5 on PECL. An excerpt from the ChangeLog:

  • Small bug in phpinfo() when printing version number could crash PHP. (in 1.0.4)
  • Fix memleaks, bug #14851
  • Small patch for MacPorts by jhohle
  • Add geoip_time_zone_by_country_and_region() and geoip_region_name_by_code() (thanks to Sid Dunayer)
  • Add continent_code field for City Database, only if using GeoIP lib 1.4.3 or newer

Since most of the features are very dependent on the GeoIP Library version you're using, I do suggest you upgrade the installed library on your system before upgrading the PECL counter-part.

I have also upgraded the PHP documentation, which should appear on the mirrors by next week. I am now working on documenting the added functions, mostly that FIPS 10-4 thing in geoip_region_name_by_code().

One thing to note about this release though is that the time zones returned by geoip_time_zone_by_country_and_region() with library 1.4.5 don't seem to make any sense here. I have opened up a bug report on SourceForge for libgeoip, will see if it gets resolved in the next release.

In the meantime, happy IP Geo Localization with PHP!