speedtest/backend
Copilot 734a35f89c
Fix PHP version check for geoip2.phar compatibility (#754)
* Initial plan

* Fix PHP version check to require PHP 8.1.0+ for geoip2.phar

Changed from PHP_MAJOR_VERSION >= 8 to PHP_VERSION_ID >= 80100 to match
the actual requirement of geoip2.phar which needs PHP 8.1.0 or higher.
This prevents HTTP 500 errors on PHP 8.0.x installations.

Co-authored-by: sstidl <12804296+sstidl@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: sstidl <12804296+sstidl@users.noreply.github.com>
2026-01-31 21:45:28 +01:00
..
country_asn.mmdb Updated ipinfo offline db 2024-09-26 06:40:24 +02:00
empty.php Fixed typo in results/index.php 2021-04-13 10:27:36 +02:00
garbage.php Revert "Use random_bytes when available (#487)" 2024-05-05 22:25:19 +08:00
geoip2.phar Release 5.4 (#645) 2024-08-04 07:06:27 +00:00
getIP.php Fix PHP version check for geoip2.phar compatibility (#754) 2026-01-31 21:45:28 +01:00
getIP_ipInfo_apikey.php Fixed typo in results/index.php 2021-04-13 10:27:36 +02:00
getIP_util.php Release 5.4 (#645) 2024-08-04 07:06:27 +00:00