/[drupal]/contributions/modules/ad_geoip/INSTALL.txt
ViewVC logotype

Contents of /contributions/modules/ad_geoip/INSTALL.txt

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Tue Jun 10 20:40:36 2008 UTC (17 months, 2 weeks ago) by jeremy
Branch: MAIN
CVS Tags: DRUPAL-5--1-1-1, DRUPAL-6--2-0-RC1, DRUPAL-5--1-1, DRUPAL-5--1-0, HEAD
Branch point for: DRUPAL-5, DRUPAL-6--2
File MIME type: text/plain
The Ad GeoIP module integrates the Drupal Ad module with MaxMind's GeoIP
databases, providing geotargeting of advertisements.

This module is a work in progress that is being sponsored by Pricescope.com.
1 -------------
2 Requirements:
3 -------------
4 - PHP 4.3.0 or later.
5 http://www.php.net/downloads.php
6
7 - Drupal 5.x
8 http://drupal.org/download
9
10 - Ad module 1.5 or later.
11 http://drupal.org/project/ad
12
13 - Version 1.0.1 or later of the geoip PHP PECL package:
14 http://pecl.php.net/package/geoip
15
16 - Version 1.4.0 or later of the GeoIP C library:
17 http://www.maxmind.com/app/c
18
19 - One or more of the GeoIP databases:
20 http://www.maxmind.com/app/geoip_features
21 A couple of which are freely available:
22 http://www.maxmind.com/app/geoip_country
23 http://www.maxmind.com/app/geolitecity
24
25
26 -------------
27 Installation:
28 -------------
29 1) Download, compile and install the latest MaxMind GeoIP C library. (The URL
30 can be found above in the requirements section.)
31
32 Debian/Ubuntu users can easily install the GeoIP C library without compiling
33 it using the following command:
34 sudo aptitude install libgeoip-dev libgeoip1
35
36
37 2) Download and install the latest geoip PHP PECL package. (The URL can be
38 found above in the requirements section.) Directions on how to install
39 and configure the geoip package can be found here:
40 http://www.php.net/manual/en/geoip.setup.php
41
42 It is generally as simple as typing the following command, then adding
43 "extension=geoip.so" to your php.ini:
44 sudo pecl install geoip
45
46 Once installed, restart Apache and review the output from phpinfo() to
47 verify the geoip is properly installed.
48
49
50 3) Download and install one or more of the MaxMind GeoIP binary databases. You
51 can install one of the free databases, or one of the commercial databases.
52 (URLs can be found above in the requirements sections.) Installation
53 instructions can be found here:
54 http://www.maxmind.com/app/installation
55
56
57 4) Enable the ad_geoip module.
58
59 Visit "Administer >> Site building >> Modules" and enable the "Ad GeoIP"
60 module, found in the "Ad" section toward the top of that patch. You can
61 then visit "Administer >> Logs >> Status report" to confirm that the GeoIP
62 requirements are properly installed.
63

  ViewVC Help
Powered by ViewVC 1.1.2