---
title: "PHP GeoIP module"
canonical_url: "https://www.zone.lv/help/kb/php-geoip-module/"
post_type: "ht_kb"
published: "2021-11-04T07:20:58+00:00"
modified: "2021-11-04T07:42:12+00:00"
language: "en"
author: "Ants Korsar"
taxonomies:
  ht_kb_category:
    - name: "PHP"
      url: "https://www.zone.lv/help/kb-categories/php-en/"
  ht_kb_tag:
    - name: "geoip"
      url: "https://www.zone.lv/help/kb-tags/geoip-en/"
    - name: "geoip 2"
      url: "https://www.zone.lv/help/kb-tags/geoip-2/"
    - name: "geoipv2"
      url: "https://www.zone.lv/help/kb-tags/geoipv2-en/"
    - name: "php"
      url: "https://www.zone.lv/help/kb-tags/php-eng/"
---

# PHP GeoIP module

### GeoIP

**As of 03.01.2022**, the GeoIP PHP module is not available from the Zone virtual server. The GeoIP database is over 4 years old and can no longer sufficiently locate IP addresses.

There is more information on GeoIP legacy database here: <https://blog.maxmind.com/2020/06/01/retirement-of-geoip-legacy-downloadable-databases-in-may-2022/>

### MaxMind GeoIP2

The GeoIP functionality will be replaced by a new module called MaxMind GeoIP2 API, the implementation of which can be found at https://maxmind.github.io/GeoIP2-php/.
