http://qs321.pair.com?node_id=11118439


in reply to Re^4: Help with Geo::IP output
in thread Help with Geo::IP output

I'm using a shared hosting server. I'm not even sure if SQLite is installed for the user and how to connect to it :(

Replies are listed 'Best First'.
Re^6: Help with Geo::IP output
by hippo (Bishop) on Jun 24, 2020 at 15:49 UTC

    Option 1: pick up the phone, call your hosting provider and ask them.

    Option 2: just try it and see.

      I just checked that's there's sqlite3. But how do I use App::geoip with it? Do I need to edit geoip.pm to change things?

Re^6: Help with Geo::IP output
by marto (Cardinal) on Jun 24, 2020 at 15:53 UTC

    Running sqlite/sqlite3 from the command prompt should let you know if it is there. If not local::lib/DBD::SQLite. You host would be better placed to questions. If not it may be worth shopping around, a dual core x86/2GB RAM VPS with 20GB storage costs me less than €3 a month.

      Thanks. I just checked with sqlite3 at the command line and yes, the command works. But how do I use it with App::geoip?

        Create a database, then provide the connection details either via the command line argument or your config file.