Maxmind의 GeoIP2를 설치하려고합니다. 나는 감독의 지시에 의해 모든 것을했고, 나는 아직도이 성가신 오류 :GeoIP2에서 리더 클래스를 찾을 수 없음
Fatal error: Class 'GeoIp2\Database\reader' not found in C:\Program Files\*\*\localweb\GeoIp2\index.php on line 19
이 스크립트 내부의 index.php 같은 모습입니다 :
<?php
require_once 'vendor/autoload.php';
use GeoIp2\Database\reader;
// This creates the Reader object, which should be reused across
// lookups.
$reader = new Reader('C:/Program Files/*/*/localweb/GeoIp2/Database/GeoLite2-Country.mmdb');
$record = $reader->country('128.101.101.101');
?>
누구 제발 도와 드릴까요?