Wordfence country lookup not working

Discussion in 'Installation/Configuration' started by Dennis_sp, Apr 9, 2019.

  1. Dennis_sp

    Dennis_sp Member

    Hi, i also posted this in the Wordfence forum but i thought i'd also ask here because it might be an ISPconfig configuration issue.


    <quote>i have a couple of sites that run Wordfence and IP’s are not being resolved to countries. In the periodic activity emails i receive as well as in the firewall dashboard it says country ‘unknown’ for each IP.

    My PHP version is:
    PHP 7.1.17-0ubuntu0.17.10.1 (cli) (built: May 9 2018 17:28:01) ( NTS )

    I’m using ISPConfig to host this site. It has PHP-Fast CGI set as option.

    Both these files are present, accessible and are up-to-date:


    What could be causing this?</quote>
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Did you check if wordfence needs any additional PHP modules for this functionality which might not be installed on your server? Any errors regarding wordfence in the website error.log?
  3. Dennis_sp

    Dennis_sp Member

    The error.log fil under the log folder of the website itself is empty. Also the requirements don't show anything special as far as i can see regarding PHP modules:
    Wordfence works on PHP 5.3 but 5.4 is required for some features. We strongly recommend PHP version 7.1 or greater, and preferably PHP 7.2 or greater. Please note that everything prior to PHP 7.1 is currently considered old and unsupported by the developers of PHP. There are no security releases for older versions, though some hosts may have an old version of PHP with “backported” security fixes, to make the old version safe while making minimal changes to PHP itself. Aside from security concerns, newer versions generally have performance and stability improvements. Some hosts let you choose the PHP version your site uses in the site’s control panel, separate from WordPress.

Share This Page