Install GeoIP PHP Module in Ubuntu

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.

geoip

Need help with Linux Server or WordPress? We can help!

Leave a Reply

Your email address will not be published. Required fields are marked *