To install GeoIP php module in Ubuntu, run
apt install php-geoip
To enable module, run
phpenmod geoip
You can see the PHP module with command php -m
root@ip-172-31-26-233:~# php -m | grep geoip geoip root@ip-172-31-26-233:~#
Also it will be listed in phpinfo page.
Leave a Reply