As of January 2, 2019 Maxmind discontinued the original GeoLite databases that we have been using in all these examples. You can read the full announcement here: https://github.com/maxmind/MaxMind-DB-Reader-php for more details on how to install and use this extension.