Chinaunix首页 | 论坛 | 博客
  • 博客访问: 606142
  • 博文数量: 263
  • 博客积分: 6000
  • 博客等级: 准将
  • 技术积分: 2555
  • 用 户 组: 普通用户
  • 注册时间: 2008-02-26 11:20
文章分类

全部博文(263)

文章存档

2011年(10)

2010年(19)

2009年(170)

2008年(64)

我的朋友

分类:

2009-05-25 22:32:02

  1. Install geoip via yum.
    yum install geoip geoip-devel
  2. You also might want to download database with ip addresses from and place it in /usr/share/GeoIP (which is a default location of geoip upon installation).
  3. Install PECL extension
    pecl install geoip
  4. Add extension=geoip.so to your /etc/php.ini
  5. Restart apache /etc/init.d/httpd restart
阅读(801) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~