laravel-geoip
laravel-geoip copied to clipboard
500 Internal Server Error
src/GeoIP.php 241 row add code
// Fixed bug #75794 (getenv() crashes on Windows 7.2.1 when second parameter is false).
if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN'
&& version_compare(PHP_VERSION, '7.1.13', '>=')
&& version_compare(PHP_VERSION, '7.2.10', '<=')) {
array_splice($remotes_keys, array_search('REMOTE_ADDR', $remotes_keys), 1);
}