©
本文档使用 PHP中文网手册 发布
此 » PECL 扩展未与 PHP 捆绑。
安装此 PECL 扩展相关的信息可在手册中标题为 PECL 扩展的安装章节中找到。更多信息如新的发行版本、下载、源文件、 维护人员信息及变更日志等,都在此处: » http://pecl.php.net/package/geoip.
[#1] Anonymous [2013-09-18 18:37:51]
@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
[#2] mikey03062 at yahoo dot com [2013-04-11 22:29:09]
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.