Ir a la última revisión | Autoría | Comparar con el anterior | Ultima modificación | Ver Log |
GeoIP2 PHP API==============No changes from the upstream version have been made, it is recommended by upstreamto install these depdencies via composer - but the composer installation is bundledwith a load of test files, shell scripts etc (and we don't use composer to manage'production dependencies') so we have to do it manually.Information-----------URL: http://maxmind.github.io/GeoIP2-php/License: Apache License, Version 2.0.Installation------------1) Download the latest versions of GeoIP2-php and MaxMind-DB-Reader-phpwget https://github.com/maxmind/GeoIP2-php/archive/vX.Y.Z.zipwget https://github.com/maxmind/MaxMind-DB-Reader-php/archive/vX.Y.Z.zip2) Unzip the archivesunzip vX.Y.Z.zipunzip vX.Y.Z.zip3) Move the source code directories into placemv GeoIP2-php-X.Y.Z/src/ /path/to/moodle/lib/maxmind/GeoIp2/mv MaxMind-DB-Reader-php-X.Y.Z/src/MaxMind/ /path/to/moodle/lib/maxmind/MaxMind/4) Update other MaxMind related files:mv MaxMind-DB-Reader-php-X.Y.Z/LICENSE /path/to/moodle/lib/maxmind/MaxMind/mv MaxMind-DB-Reader-php-X.Y.Z/CHANGELOG.md /path/to/moodle/lib/maxmind/MaxMind/mv MaxMind-DB-Reader-php-X.Y.Z/README.md /path/to/moodle/lib/maxmind/MaxMind/mv MaxMind-DB-Reader-php-X.Y.Z/composer.json /path/to/moodle/lib/maxmind/MaxMind/mv MaxMind-DB-Reader-php-X.Y.Z/autoload.php /path/to/moodle/lib/maxmind/MaxMind/5) Run unit tests on iplookup/tests/geoip_test.php.6) Update maxmind/GeoIp2 and maxmind/MaxMind versions in lib/thirdpartylibs.xml