Install geoip php extension module

Hi,

*I have two pc’s one is with opensuse12.1 and one is with opensuse 11.3.
*
Have installed and configured Apache, MySQL and php5 with the help of yast2 installer.
everything is working fine.

But i need to enable geoip php extension module, tried searching in yast2 but i din find any

so started to compile geoip package from source following by below link

http://www.videochat-scripts.com/install-geoip-php-extension/

but still m not able to add php geoip extension module.
Please somebody lemme know how to enable php extension module.

Help. . !!!

and


varun# php -m
[PHP Modules]
bcmath
Core
ctype
curl
date
dom
ereg
filter
gd
hash
iconv
json
libxml
mhash
mysql
mysqli
openssl
pcre
PDO
pdo_mysql
pdo_sqlite
Reflection
session
SimpleXML
soap
SPL
SQLite
sqlite3
standard
tokenizer
xml
xmlreader
xmlrpc
xmlwriter
xsl
zip

[Zend Modules]

Hello vrnb05,

You say you “started to compile geoip package from source following by below link Video Chat Scripts”. Could you tell where you got stuck? There are several steps there and we can not guess how far you went, or what error/warning mesages were shown. Please show as much as you can, not as little a you can.

Hi,

Thanks for the reply.
Yes i complied it using commands ./configure and make, make install.

Install GeoIP C API
Change 1.4.6 to downloaded version.wget http://geolite.maxmind.com/download/geoip/api/c/GeoIP.tar.gz
tar zxvf GeoIP.tar.gz
cd GeoIP-1.4.6
./configure
make
make check
make install

Then when installing PECL extension i din’t find a command ***phpize.


but added line extension=geoip.so in php.ini file( i.e is in /etc/php5/apache2/php.ini)

Install PHP PECL extension*wget http://pecl.php.net/get/geoip
tar zxvf geoip
cd geoip-1.0.7
phpize
./configure
make
make check
make install
*

Aren’t you barking up the wrong tree? This is what I have installed

GeoIP-1.4.8-42.2.x86_64
libGeoIP1-1.4.8-42.2.x86_64
perl-Geo-IP-1.31-5.1.x86_64

can any one please give me step by step guide to enable geoip php module extension on opensuse11.3 or 12.1???
It would be very helpful. .

Thanks in Advance. .

where did you install this from??? is it through yast???

And maybe even better: software.opensuse.org:
In the server:php:extensions repo there’s http://software.opensuse.org/ymp/server:php:extensions/openSUSE_12.1/php5-geoip.ymp?base=openSUSE%3A12.1&query=php5-geoip . Note. this is for 12.1

oh ok adding repos in yast, you have installed geoip module. . ok let me try it!!! will update!!!

Hi,

Thank you so much. . !!! i got repos for both opensuse11.3 and opensuse12.1 and installed every possible php extension modules. .
shows repos URL:

 http://download.opensuse.org/repositories/server:/php:/extensions/<version> 

But where is memcached php extension module???

i found out only memcache but not memcached. . !!!
now working on this by following below link. . will update you. .


http://www.thefanclub.co.za/how-to/how-install-memcached-opensuse-use-drupal

Hello all,

I am not able see below supported on repos

memcached,
mime_magic,
SourceGuardian,
SQLite

i need help from someone to enable/install these php extension modules.

Hi all,
my server has already installed Net Geoip.
i need to track a country and redirect to another site.
when i try to use net geo ip,there is this line.


$geoip = Net_GeoIP::getInstance('/path/to/geoipdb.dat', Net_GeoIP::SHARED_MEMORY);

and it says

    • To use this class you must have a [binary version] GeoIP database. There is
    • a free GeoIP country database which can be obtained from Maxmind:

but my problem is what is the path to that dat file.i am sooo confused.
can anyone help me up.am i missing some part?

Please help me and thanks in advance…

On 2013-02-21 12:16, dforums wrote:
>
> Hi all,
> my server has already installed Net Geoip.
> i need to track a country and redirect to another site.
> when i try to use net geo ip,there is this line.

Your post seems to be a different problem than the OP reported
initially. Please open a new thread with your problem.


Cheers / Saludos,

Carlos E. R.
(from 12.1 x86_64 “Asparagus” at Telcontar)