** Description changed: To reproduce the bug $ sudo apt-get install php5 php5-geoip geoip-database $ php --version - PHP 5.4.6-1ubuntu1.1 (cli) (built: Nov 15 2012 01:18:34) + PHP 5.4.6-1ubuntu1.1 (cli) (built: Nov 15 2012 01:18:34) Copyright (c) 1997-2012 The PHP Group Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies - $ php -r "print_r(geoip_db_get_all_info());" Segmentation fault (core dumped) php5-geoip need to upgrade from 1.0.7 to 1.0.8. Still haven't apply the - fix for bug #60066 (fixed in version 1.0.8) + fix for php bug 60066 (fixed in version 1.0.8) + + Temporary solution is to install the package using PHP's PECL. + $ sudo apt-get install php-pear php5-dev libgeoip-dev geoip-database + $ sudo pecl install geoip + $ echo "extension=geoip.so" | sudo tee -a /etc/php5/conf.d/geoip.ini See - 1. http://pecl.php.net/package-changelog.php?package=geoip&release=1.0.8 + 1. http://pecl.php.net/package-changelog.php?package=geoip&release=1.0.8 2. https://bugs.php.net/bug.php?id=60066
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1153008 Title: Segfault (core dump) on geoip_db_get_all_info() method call To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/php-geoip/+bug/1153008/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs