Torann / laravel-geoip

Determine the geographical location of website visitors based on their IP addresses.
http://lyften.com/projects/laravel-geoip
BSD 2-Clause "Simplified" License
2.07k stars 372 forks source link

fix: temporary fix openssl issue on some machine #217

Open kocoten1992 opened 2 years ago

kocoten1992 commented 2 years ago

Hello,

Php currently have an issue with openssl https://github.com/php/php-src/issues/8369,

For some machine, file_get_contents and file_put_contents will fail, we could fix it with this approach https://github.com/guzzle/psr7/issues/504#issuecomment-1114693965, but I think it overkill for a simple database update command.

I'll revert this commit sometime in the future when php got fix.