Changes

From SME Server
Jump to navigationJump to search
2,675 bytes added ,  13:14, 21 January 2019
Line 103: Line 103:     
---------------------------
 
---------------------------
 +
 +
== geoip2 for php ==
 +
 +
the following allows to install geoip2 support for php
 +
 +
of course you will need the db ...
 +
 +
yum install php*-php-maxmind* --enablerepo=epel
 +
 +
Installation:
 +
php54-php-maxminddb                                      x86_64                                      1.4.1-1.el6.remi                                        remi-safe                                      16 k
 +
php55-php-maxminddb                                      x86_64                                      1.4.1-1.el6.remi                                        remi-safe                                      16 k
 +
php56-php-maxminddb                                      x86_64                                      1.4.1-1.el6.remi                                        remi-safe                                      16 k
 +
php70-php-maxminddb                                      x86_64                                      1.4.1-1.el6.remi                                        remi-safe                                      16 k
 +
php71-php-maxminddb                                      x86_64                                      1.4.1-1.el6.remi                                        remi-safe                                      16 k
 +
php72-php-maxminddb                                      x86_64                                      1.4.1-1.el6.remi                                        remi-safe                                      16 k
 +
php73-php-maxminddb                                      x86_64                                      1.4.1-1.el6.remi                                        remi-safe                                      16 k
 +
Installation pour dépendance:
 +
libmaxminddb                                            x86_64                                      1.1.1-5.el6                                            epel                                            17 k
 +
 +
 +
Then you need the db.
 +
(not required if you have installed smeserver-geoip2 because the new geoipupdate tool will download and update the databases)
 +
 +
# yum install geolite2-* --enablerepo=epel
 +
 +
Installation:
 +
geolite2-city                                            noarch                                        20181204-1.el6                                        epel                                          21 M
 +
geolite2-country                                        noarch                                        20181204-1.el6                                        epel                                        1.1 M
 +
 +
for base php , we would need to built it...
 +
[[User:Unnilennium|Unnilennium]] ([[User talk:Unnilennium|talk]]) 05:41, 21 January 2019 (CET)

Navigation menu