Install GeoIP PHP Module in Ubuntu

To install GeoIP php module in Ubuntu, run

To enable module, run

You can see the PHP module with command php -m

Also it will be listed in phpinfo page.

geoip