maxmind / GeoIP2-php

PHP API for GeoIP2 webservice client and database reader
https://maxmind.github.io/GeoIP2-php/
Apache License 2.0
2.33k stars 276 forks source link

Error when use GeoIP2-Country.mmdb #11

Closed BassemN closed 10 years ago

BassemN commented 10 years ago

Hi,

When I use GeoIP2-Country.mmdb instead of GeoIP2-City.mmdb on $reader = new Reader('/usr/local/share/GeoIP/GeoIP2-Country.mmdb');

I got an error!! How can I use GeoIP2-Country.mmdb ?

Thanks

oschwald commented 10 years ago

Do you have more details on the particular error that you received?

BassemN commented 10 years ago

@oschwald Sorry I typed the mmdb file path wrong.