• The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Issue geoip doesn't work in php 7.3.17 after updating plesk

python

Regular Pleskian
geoip was installed and working fine in version 7.2.30 php, when updating to version 7.3.17, plesk did not install geoip.

How can I keep geoip working in php 7.3?
 
Plesk doesn't ship php geoip module but you can compile it by yourself with the following steps:

# yum install geoip-devel plesk-php73-devel make gcc
# /opt/plesk/php/7.3/bin/pecl install http://pecl.php.net/get/geoip-1.1.1.tgz
# echo "extension=geoip.so" > /opt/plesk/php/7.3/etc/php.d/geoip.ini
# plesk bin php_handler --reread

and check that geoip module is loaded:

# /opt/plesk/php/7.3/bin/php -m | grep geoip
geoip
 
Hi... I am trying install GeoIP in my Plesk Obsidian without any success.
Try the steps above but I got:
ERROR: `/tmp/geoip/configure --with-php-config=/opt/plesk/php/8.1/bin/php-config' failed

I am approaching this the wrong way...
I am a newbie in plesk
 
Hi... I am trying install GeoIP in my Plesk Obsidian without any success.
Try the steps above but I got:
ERROR: `/tmp/geoip/configure --with-php-config=/opt/plesk/php/8.1/bin/php-config' failed

I am approaching this the wrong way...
I am a newbie in plesk
Looks like PHP8.1 is not supported by the latest geoip-1.1.1 - PECL :: Package :: geoip 1.1.1
There is only support for PHP7 is mentioned.
I can successfully compile this module for Plesk PHP7.4 but can't for PHP8.x
 
Back
Top