fixed errors for when GeoIP PECL extension is installed