• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

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