danielsreichenbach / geoip2-update

Update Maxmind.com GeoIP2/GeoLite2 databases from your php script, application or via Composer.
MIT License
7 stars 2 forks source link

The remote server is not available #3

Open a97242689 opened 3 months ago

a97242689 commented 3 months ago

I get an error when using your library: The remote server is not available. My PHP version is 8.0, can you help me solve it? Thank you

danielsreichenbach commented 1 month ago

The library depends on the PHP curl extension, and would require https access to updates.maxmind.com. You can check with php -m if you have curl enabled, and possibly also try to just use curl to access the update URL.

[!IMPORTANT] Note, this module is not an official MaxMind module so I can only try to fix issues in the module itself.

Could you elaborate on how you are using/calling the module?

dalsochio commented 1 week ago

The official MaxMind documentation recommends this URL: https://download.maxmind.com Source: https://dev.maxmind.com/geoip/updating-databases#checking-for-the-latest-release-date

@danielsreichenbach

danielsreichenbach commented 1 week ago

The official MaxMind documentation recommends this URL: https://download.maxmind.com Source: https://dev.maxmind.com/geoip/updating-databases#checking-for-the-latest-release-date

Will check, and see if I can push a new release with that.