PHP 5.4.32 Released

Installation

Diese » PECL-Extension ist nicht Teil von PHP.

Information zur Installation dieser PECL-Extension finden sie im Kapitel Installation von PECL-Extensions. Zus√§tzliche Informationen wie neue Releases, Downloads, Quelldateien, Maintainerinformation und ein CHANGELOG finden Sie hier: » http://pecl.php.net/package/geoip.

add a note add a note

User Contributed Notes 3 notes

up
0
phpgeoipnote at empirestorage dot ca
21 hours ago
Hi everybody, I ran into many roadbumps installing this, hopefully these tips will help somebody else.
I installed it on a CentOS 5.x system running PHP 5.3.x managed by Virtualmin/Webmin. Using SSH, I installed the following packages via yum:

yum install php53-devel geoip geoip-devel gcc.

Basically I ran into a bunch of random errors that were resolved by installing whatever package was required, AND their equivalent -devel companion. Then I ran:

pecl install geoip

Once that installed, I had to edit /etc/php.ini. Search for "extension=" and add the line "extention=geoip". If you have virtual hosts setup in your hosting environment that each have their own php.ini file, you'll need to add that line to each file.
up
0
mikey03062 at yahoo dot com
1 year ago
if you are using RH (or CentOS) a simple

yum install php-pecl-geoip

worked for me.    So, before you read all the rest of these "install" instructions, try that.
up
-2
Anonymous
11 months ago
@Centos 6.4
# yum install GeoIP-devel (from yum repo, epel)
# pecl install geoip
then, as prompt, put "extension=geoip.so" into php.ini. Works
To Top