A
A
Alexander Nazarov2022-02-13 19:26:20
PHP
Alexander Nazarov, 2022-02-13 19:26:20

How to install geoip module for PHP 8.1?

I installed Apache on Ubuntu 21.04, and PHP 8.1, I wanted to add the GeoIp module to PHP, but in response I get that there is no such package. Any thoughts on this?
620930c663ec4142597434.png

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
SagePtr, 2022-02-13
@wergio

To my knowledge, the geoip module has been deprecated in favor of the maxminddb module. So it is recommended to use the second one. This is the most likely reason why it is not included in new versions of PHP.

S
Sergey, 2022-02-13
@KingstonKMS

You execute aptitude search php | grep geoipand you look what there are packages. Most likely php-geoip package of the required version

K
ky0, 2022-02-13
@ky0

As you put the main piece, put the module. In theory, they should be able to come from the same repository.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question