I am running into an issue while trying to use the PECL version of geoip. I have a custom location set for this site using php_value in .htaccess, which seems to be working as piwik registers it as such, and phpinfo shows the value too.
PHP Version: 5.6.25
Webserver: LiteSpeed V6.9
Piwik Version: 2.16.2
Error: The PECL module is looking for databases in ‘/usr/share/GeoIP/’, but this directory does not exist. Please create it and add the GeoIP databases to it. Alternatively, you can set ‘geoip.custom_directory’ to the correct directory in your php.ini file.
Which is followed by
Note: The ‘geoip.custom_directory’ PHP ini option is set to ‘/home//analytics..com/misc’.
This GeoIP implementation has access to the following types of databases: .
Error at the top of the page:
WARNING: /home//analytics..com/plugins/UserCountry/LocationProvider/GeoIp/Pecl.php(130): Warning - is_dir(): open_basedir restriction in effect. File(/usr/share/GeoIP/) is not within the allowed path(s): (/home/*****:/usr/lib/php:/usr/php4/lib/php:/usr/local/lib/php:/usr/local/php4/lib/php:/tmp) - Piwik 2.16.2 - Please report this message in the Piwik forums: http://forum.piwik.org (please do a search first as it might have been reported already)