• Resolved jksastrology

    (@jksastrology)


    Hello Everyone,

    I have recently moved my website to a new host. My website had some custom made plugins from a developer I am no longer in contact with. I remember an extension called GeoIP was installed on the previous server for the plugins to work. I know that the GeoIP extension is from a website called Maxmind. And had the following file path

    /usr/share/GeoIP the files are geoip.inc or for city data geoip.inc

    Since moving to the new host, it seems like my website is trying to find this file path, but fails to do so.

    The problem is, I have no idea how this extension was installed in the first place. I want GeoIP on my new host. I am new to coding and still trying to learn. Can anyone point me in the right direction, please : ) ?

    Basically I want to know the following:
    1. How is a GeoIP extension (such as that from maxmind) installed? Is this something I can do? Or is this something only the new server host can do?
    2. What is the file path /usr/share/GeoIP? I do not see this in the public html folder on the server? I have no idea where that file path is.

    Any help is much appreciated.

    Kind regards,

    Jamie

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator bcworkz

    (@bcworkz)

    Disclaimer: I know nothing of GeoIP beyond what I learned quickly scanning the MaxMind site. GeoIP has been superseded by GeoIP2. Both are standalone Linux modules that are installed on your server like any other Linux app. If your hosting account is shared, your host would need to install it. If you have VPS, the package can be copied to the server. then installed from the terminal. The package should have installation instructions.

    The /usr/share/ path is a standard Linux path, but it’s above what is accessible in shared hosting. From a VPS terminal, you could type cd /usr/share to change to that directory, then enter the ls -l command to see all the files and folders listed there along with some properties. If GeoIP is installed, it’ll be listed there. If so you could cd GeoIP to go to that folder and again ls -l to see a list of contents. There’s nothing to be done here, it’s just a way of exploring from the command line in terminal.

    Moderator James Huff

    (@macmanx)

    WordPress itself doesn’t use that, so this must be something required by a plugin you’re using.

    Therefore, I recommend consulting that plugin’s documentation for properly installing the library.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Installing GeoIP Advice Please’ is closed to new replies.